Method ApplyAngularImpulse
ApplyAngularImpulse(PhysicsWorld, int, float3)
Apply an angular impulse to a rigidBodyIndex (in world space)
Declaration
public static void ApplyAngularImpulse(this PhysicsWorld world, int rigidBodyIndex, float3 angularImpulse)
Parameters
Type | Name | Description |
---|---|---|
PhysicsWorld | world | The world to act on. |
int | rigidBodyIndex | Zero-based index of the rigid body. |
float3 | angularImpulse | The angular impulse. |