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

SolveFlightOptions

What solveFlight takes beside the two points.

Property Type Description
deltaSeconds number The step the flight is stepped by, step.deltaSeconds: seconds is rounded up to whole ticks, and the ball stands on to on the last. 0 solves the smooth arc, which the ticks land about gravity × deltaSeconds × seconds / 2 short of: 5 cm for a 0.65 s flight at 60 ticks.
gravity Vector3Like The pull it falls by, metres a second squared: the scene’s gravity times its flight’s gravityScale.
seconds number How long the flight takes from from to to, more than 0.