five-on-it / packages/sim/src/escape / HOOK
Variable: HOOK
constHOOK:object
Defined in: packages/sim/src/escape.ts:49
The grappling hook's numbers.
Type Declaration
edgeIn
readonlyedgeIn:0.6=0.6
How far beyond the wall's face the hook bites into the roof (m).
headroom
readonlyheadroom:1.9=1.9
How much clear room over the anchor a body needs to stand there (m).
maxSpeed
readonlymaxSpeed:32=32
The fastest the line pulls (m/s).
minRise
readonlyminRise:1.5=1.5
The lowest roof or ledge it is worth catching, over its user's feet (m).
overEdge
readonlyoverEdge:0.6=0.6
How high over the roof its user swings over the edge (m, the feet).
pullTicks
readonlypullTicks:60=TICK_RATE
Ticks of the whole pull, up the wall and over the edge: about a second.
range
readonlyrange:25=25
How far its line reaches, from its user to the anchor on the roof (m).
standOff
readonlystandOff:0.9=0.9
How far off the wall its user is pulled up to, before going over the edge (m).
upTicks
readonlyupTicks:number
Ticks of the pull up the wall.