Skip to content

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

Function: carHitSystem() ​

carHitSystem(sim): void

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

Every person on foot a vehicle closed on fast in the last step: hit, or bounced off; then whoever lies on the ground is driven over, and everybody else is solid to the cars (see the module documentation).

Parameters ​

sim ​

SimWorld

Returns ​

void