Skip to content

moveAlongTracks

moveAlongTracks(world, deltaSeconds): void

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

Moves each enabled mover along its track, then stands its entity at its track coordinates, facing down the track. A disabled one is still placed, so a game that sets its distance sees it there.

Parameter Type
world World
deltaSeconds number

void