Skip to content

five-on-it / packages/sim/src/escape / HOOK

Variable: HOOK ​

const HOOK: object

Defined in: packages/sim/src/escape.ts:49

The grappling hook's numbers.

Type Declaration ​

edgeIn ​

readonly edgeIn: 0.6 = 0.6

How far beyond the wall's face the hook bites into the roof (m).

headroom ​

readonly headroom: 1.9 = 1.9

How much clear room over the anchor a body needs to stand there (m).

maxSpeed ​

readonly maxSpeed: 32 = 32

The fastest the line pulls (m/s).

minRise ​

readonly minRise: 1.5 = 1.5

The lowest roof or ledge it is worth catching, over its user's feet (m).

overEdge ​

readonly overEdge: 0.6 = 0.6

How high over the roof its user swings over the edge (m, the feet).

pullTicks ​

readonly pullTicks: 60 = TICK_RATE

Ticks of the whole pull, up the wall and over the edge: about a second.

range ​

readonly range: 25 = 25

How far its line reaches, from its user to the anchor on the roof (m).

standOff ​

readonly standOff: 0.9 = 0.9

How far off the wall its user is pulled up to, before going over the edge (m).

upTicks ​

readonly upTicks: number

Ticks of the pull up the wall.