Skip to content

five-on-it / packages/sim/src/sinking / sinkingSystem

Function: sinkingSystem() ​

sinkingSystem(sim): void

Defined in: packages/sim/src/sinking.ts:18

Slows every car in a surface and floods (or burns) the ones sunk into it: after each physics step.

Parameters ​

sim ​

SimWorld

Returns ​

void