five-on-it / packages/sim/src/world / setPhysicsSubsteps
Function: setPhysicsSubsteps()
setPhysicsSubsteps(
sim,steps):void
Defined in: packages/sim/src/world.ts:206
Cuts the coming tick into steps physics steps (1 to MAX_PHYSICS_SUBSTEPS), each DT / steps long. With the world's creation, the one place the integration parameters are set.
Parameters
sim
steps
number
Returns
void