Skip to content

five-on-it / packages/sim/src/carjack / CARJACK

Variable: CARJACK ​

const CARJACK: object

Defined in: packages/sim/src/carjack.ts:69

The numbers of carjacking.

Type Declaration ​

beatTicks ​

readonly beatTicks: 30 = 30

Ticks between pulling the driver out and getting in at the door (EXIT.inTicks more): half a second.

doorReach ​

readonly doorReach: 2.6 = 2.6

Another doorway on the driver's flank further than this from the driver's along the car is a door of its own (the bus's middle one), by which the key rides along instead (m); a car's rear door is no further than this from its driver's.

flankSlack ​

readonly flankSlack: 0.5 = 0.5

How far past the bumpers the driver's flank still reaches (m).

maxSpeed ​

readonly maxSpeed: number

A car this slow or slower can be carjacked (m/s): 8 km/h, stopped or crawling.

pullClear ​

readonly pullClear: 1.2 = 1.2

How far along the car from the carjacker the driver is set down when it stands at the door (m): clear of each other.