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

followPath

followPath(step, character): void

Writes the steer character moves on this step into its SteerTrait: its input’s move wherever that is pushing, and its own along its path at its own movement settings otherwise, as both of the characters’ movements do for each character. For a game’s own movement, before it steers the character with steerCharacter.

Parameter Type
step PredictedStep
character Entity

void