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

steerFromStick

steerFromStick(direction): void

Points the stick where the player’s thumb is: the character’s move, added to what its keys hold, and the free camera’s flight. The direction is copied, so the caller keeps its own vector.

Parameter Type
direction Vector2

void