Collider:applyAngularImpulse
EditApplies an angular impulse to the Collider.
An impulse is a single instantaneous push. Impulses are independent of time, and are meant to only be applied once. Use Collider:applyTorque for a time-dependent push that happens over multiple frames.
Arguments
| Name | Type | Description |
| x | number | The x component of the world-space impulse vector, in newton meter seconds. |
| y | number | The y component of the world-space impulse vector, in newton meter seconds. |
| z | number | The z component of the world-space impulse vector, in newton meter seconds. |
Returns
Nothing
Arguments
| Name | Type | Description |
| impulse | vector | The world-space impulse vector, in newton meter seconds. |
Returns
Nothing
Notes
Kinematic colliders ignore forces.
If the Collider is asleep, this will wake it up.
Impulses are accumulated and processed during World:update.