Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

FlightMotion

A flight as BodyTrait’s motion holds it: plain numbers, so it streams and checkpoints with the body.

Property Modifier Type
bounceOff readonly readonly FlightBox[]
contactsPerTick readonly number
drag readonly number
gravityScale readonly number
kind readonly "flight"
landOn readonly readonly FlightBox[]
restitution readonly number