Function
Fast
Actor:AddAngularImpulse
Add an angular impulse to this Actor. Good for one time instant burst
Syntax
my_actor:AddAngularImpulse(angular_impulse, velocity_change = false)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
angular_impulse
|
Vector | — | Magnitude and direction of impulse to apply. Direction is axis of rotation. In Radians |
velocity_change
optional
|
boolean | false |
Whether to ignore mass |