Skip to content

markTrackTriggers

markTrackTriggers(world, deltaSeconds): void

Defined in: packages/engine/src/gameplay/track/systems.ts:132

Marks each track trigger inside while a mover on its track stands in it, and the step one entered or the last left. A mover that passed through inside one step, as a fast one does a thin region, both enters and leaves on that step. After the move, on the coordinates it wrote. ponytail: one report for every mover, so a second entering while the first stands in it is no entry; every mover against every trigger; and across and up read where the step ended. A set of movers per trigger, a sort by distance, and a swept box when a game needs them.

Parameter Type
world World
deltaSeconds number

void