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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
step |
PredictedStep |
character |
Entity |
Returns
Section titled “Returns”void