FlightResult

interface FlightResult
simulation/src/flight.ts:140

Members

altitudereadonly

altitude: number | null

frameChangereadonly

frameChange: FrameChange | null

Set when the entity changed frame this tick; devtools surface it.

gravityreadonly

gravity: Vec3

impactSpeedreadonly

impactSpeed: number

Speed at contact, m/s. Above LANDING_SPEED_LIMIT this was a crash.

landedreadonly

landed: boolean

liftOffreadonly

liftOff: boolean

The ship just left the ground and must be handed back to the inertial frame.

soireadonly

soi: SoiWatch | null

The bounds the sphere-of-influence tests are carrying forward, or null when this tick changed frame or made no test.

statereadonly

state: FrameState

touchdownreadonly

touchdown: boolean

The ship just touched down; the world owns installing the surface frame.