coastState

function coastState
simulation/src/flight.ts:900
coastState(world: FlightWorld, frame: FrameId, epoch: RailsEpoch, time: number) → FrameState

Where a coasting entity is at time, from its epoch.

A pure function of the epoch and the instant — never of the previous tick — which is the whole property: a frame that jumps ten thousand ticks and one that steps them land on the same bits.

worldFlightWorld
Undocumented
frameFrameId
Undocumented
epochRailsEpoch
Undocumented
timenumber
Undocumented
ReturnsFrameState