Skip to content

five-on-it / packages/sim/src/grappler / unhook

Function: unhook() ​

unhook(sim, car): void

Defined in: packages/sim/src/grappler.ts:101

The net lets go of a car (snapped, or the cruiser gone): a hook event of length 0 where it was.

Parameters ​

sim ​

SimWorld

car ​

number

Returns ​

void