pub unsafe extern "C" fn PxArticulationJointReducedCoordinate_setFrictionCoefficient_mut(
    self_: *mut PxArticulationJointReducedCoordinate,
    coefficient: f32
)
Expand description

Sets the joint friction coefficient, which applies to all joint axes.

  • The joint friction is unitless and relates the magnitude of the spatial force [F_trans, T_trans] transmitted from parent to child link to the maximal friction force F_resist that may be applied by the solver to resist joint motion, per axis; i.e. |F_resist| < = coefficient * (|F_trans| + |T_trans|), where F_resist may refer to a linear force or torque depending on the joint axis.
  • The simulated friction effect is therefore similar to static and Coulomb friction. In order to simulate dynamic joint friction, use a joint drive with zero stiffness and zero velocity target, and an appropriately dimensioned damping parameter.

This call is not allowed while the simulation is running.