TrackSpot
Defined in: packages/engine/src/gameplay/track/track.ts:18
A place on a track’s surface, in its own coordinates. The track hands one object to every read and rewrites it, so keep its values, not it.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
distance |
number |
Metres along the centerline. |
lateral |
number |
Metres across, positive to the right of travel. |
track |
Track |
- |