five-on-it / packages/sim/src/carjack / CARJACK
Variable: CARJACK
constCARJACK:object
Defined in: packages/sim/src/carjack.ts:69
The numbers of carjacking.
Type Declaration
beatTicks
readonlybeatTicks:30=30
Ticks between pulling the driver out and getting in at the door (EXIT.inTicks more): half a second.
doorReach
readonlydoorReach: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
readonlyflankSlack:0.5=0.5
How far past the bumpers the driver's flank still reaches (m).
maxSpeed
readonlymaxSpeed:number
A car this slow or slower can be carjacked (m/s): 8 km/h, stopped or crawling.
pullClear
readonlypullClear: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.