applyImpulse
Applies an impulse to the object.
Syntax
object.applyImpulse(vector);
Parameters
Name | Type | Description |
---|---|---|
vector | Vector3Array | The impulse vector to be applied to the object. |
Example
// make it spin
object.applyImpulse([0, 20, 0]);
Available on: Client Server