Skip to content

five-on-it / packages/sim/src/car-hits / recordApproach

Function: recordApproach() ​

recordApproach(sim): void

Defined in: packages/sim/src/car-hits.ts:109

Records, just before the physics step, the velocity of every person on foot and of every vehicle (its spin too): what they come into a contact with, before the solver resolves it.

Parameters ​

sim ​

SimWorld

Returns ​

void