five-on-it / packages/sim/src/substeps / substepsFor
Function: substepsFor()
substepsFor(
sim):number
Defined in: packages/sim/src/substeps.ts:319
How many physics steps the coming tick takes (see the module documentation): the most any car asks for with another car, a trailer or a person on foot, 1 to MAX_PHYSICS_SUBSTEPS.
Parameters
sim
Returns
number