Skip to content

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

Variable: GLIDER ​

const GLIDER: object

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

The paraglider's numbers.

Type Declaration ​

edgeAhead ​

readonly edgeAhead: 1.5 = 1.5

How far ahead a roof's edge is looked for, to take off from it (m).

edgeDrop ​

readonly edgeDrop: 3 = 3

How far the ground must drop beyond that edge (m).

falling ​

readonly falling: 1 = 1

How fast a character must be falling for it to open in the air (m/s).

sink ​

readonly sink: 2 = 2

How fast it sinks (m/s).

speed ​

readonly speed: 8 = 8

How fast it flies forward (m/s).

takeOffTicks ​

readonly takeOffTicks: number

Ticks after opening before touching the ground lands it (a take-off from a roof's edge runs off it first).

turnRate ​

readonly turnRate: 1.6 = 1.6

How fast it turns toward where the movement keys point (rad/s).