setRotation
Sets the player's position.
Syntax
player.setRotation(rotation);
Parameters
Name | Type | Description |
---|---|---|
rotation | Euler , EulerArray , Quaternion or QuaternionArray | The new rotation |
Example
player.setRotation([0, Math.PI, 0]);
Available on: Client Server