addTorque
Adds torque to the object.
Syntax
object.addTorque(vector);
Parameters
Name | Type | Description |
---|---|---|
vector | Vector3Array | The torque vector to be added to the object. |
Example
object.addTorque([0, 20, 0]);
Available on: Client Server
Adds torque to the object.
object.addTorque(vector);
Name | Type | Description |
---|---|---|
vector | Vector3Array | The torque vector to be added to the object. |
object.addTorque([0, 20, 0]);
Available on: Client Server