setAngularVelocity
Sets the angular velocity of the object.
Syntax
object.setAngularVelocity(vector);
Parameters
| Name | Type | Description | 
|---|---|---|
| vector | Vector3Array | The angular velocity vector. | 
Example
// make it spin
object.setAngularVelocity([0, 20, 0]);
Available on: Client Server