Skip to content

TrackFrame

Defined in: packages/engine/src/gameplay/track/track.ts:35

Where the track is at one distance along it, and which way it faces.

Property Type Description
halfWidth number -
position Vector3 -
right Vector3 Across the track, level with the world.
tangent Vector3 The direction of travel.
up Vector3 Out of the surface: right crossed with tangent.