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