RigidBodyController::SetSpinFrictionMultiplier
Defined in:
Sets the spin friction multiplier for a rigid body.
C4Physics.h
Prototype
void SetSpinFrictionMultiplier(float spin);
Parameters
spin |
The new spin friction multiplier. |
Description
The SetSpinFrictionMultiplier
function sets the spin friction multiplier for a rigid body to the value specified by the spin
parameter. This value multiplies the ordinary friction coefficient and, if nonzero, applies a frictional force to a rigid body that is generally spinning on a single contact. Since such a contact point would have very little tangential velocity, ordinary friction would do little to slow the motion, so the spin friction must be applied to oppose the angular velocity. Typical values for the spin
parameter are in the range [0.0, 0.5].The initial value of the spin friction multiplier is 0.0.
See Also
RigidBodyController::GetSpinFrictionMultiplier
RigidBodyController::GetFrictionCoefficient
RigidBodyController::SetFrictionCoefficient