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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
direction |
Vector2 |
Returns
Section titled “Returns”void