Skip to content

five-on-it / packages/sim/src/seats / exitMode

Function: exitMode() ​

exitMode(sim, vehicle): ExitMode

Defined in: packages/sim/src/seats.ts:152

How a character gets out of a vehicle at its speed now: step at a crawl (EXIT.stepSpeed or slower over the ground), bail up to EXIT.bailSpeed, stay faster, and in the air (no wheel on the ground, rising or falling faster than a crawl).

Parameters ​

sim ​

SimWorld

vehicle ​

number

Returns ​

ExitMode