five-on-it / packages/sim/src/doors / GATE
Variable: GATE
constGATE:object
Defined in: packages/sim/src/doors.ts:39
The numbers of the gates and barriers.
Type Declaration
clearance
readonlyclearance:3=3
Something this near the doorway's line (m) keeps it from shutting.
clearTicks
readonlyclearTicks:90=90
The way must be clear this long before it shuts again (ticks).
lift
readonlylift:number
How far up a barrier's arm is lifted (rad).
reach
readonlyreach:6=6
A car this near the doorway's line (m), within its width, opens it.
slide
readonlyslide:0.95=0.95
How much of its width a gate slides aside.