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

Push

What pushCharacter takes.

Property Type Description
endSpeed? number The character’s ground speed at most once the push ends, from which the steer ramps it: 0 stops it there. Left out, it leaves the push at its own speed and runs down from it at its deceleration.
priority? number Against another push: one of a lower priority than the push the character is under is refused, and one of the same priority or higher replaces it, so a knockback at 1 interrupts a dash at 0 and a dash does not cancel a knockback. 0 when left out.
seconds number Simulated seconds the character is held at the horizontal velocity.
velocity Vector3Like Metres a second, in the world: the character’s horizontal velocity for the push’s length, and, where y is above 0, a launch upward at that speed, which gravity takes from the step it starts.