pub unsafe extern "C" fn PxRigidBody_setMaxAngularVelocity_mut(
    self_: *mut PxRigidBody,
    maxAngVel: f32
)
Expand description

Lets you set the maximum angular velocity permitted for this actor.

For various internal computations, very quickly rotating actors introduce error into the simulation, which leads to undesired results.

With this function, you can set the maximum angular velocity permitted for this rigid body. Higher angular velocities are clamped to this value.

Note: The angular velocity is clamped to the set value before the solver, which means that the limit may still be momentarily exceeded.

Default: 100.0