pub unsafe extern "C" fn PxRigidDynamic_setAngularVelocity_mut(
    self_: *mut PxRigidDynamic,
    angVel: *const PxVec3,
    autowake: bool
)
Expand description

Sets the angular velocity of the actor.

Note that if you continuously set the angular velocity of an actor yourself, forces such as friction will not be able to rotate the actor, because forces directly influence only the velocity/momentum.

Default: (0.0, 0.0, 0.0)

Sleeping: This call wakes the actor if it is sleeping, and the autowake parameter is true (default) or the new velocity is non-zero.

It is invalid to use this method if PxActorFlag::eDISABLE_SIMULATION is set.