steerFromStick
steerFromStick(
direction):void
Points the stick where the player’s thumb is: the character’s move, held
by the touch source as the engine’s own stick holds it, added to what
its keys hold, and the free camera’s flight. (0, 0) lets go. The
direction is copied, so the caller keeps its own vector.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
direction |
Vector2 |
Returns
Section titled “Returns”void