From Newton Wiki
Jump to: navigation, search


void NewtonUserJointSetRowMaximumFriction( const NewtonJoint* joint, dFloat friction)


Set the maximum friction value the solver is allow to apply to the joint row.


  • const NewtonJoint *joint - pointer to the joint.
  • dFloat friction - maximum friction value for this row. It must be a positive value between 0.0 and INFINITY.
  • Remark
  • This function will override the default friction values set after a call to NewtonUserJointAddLinearRow or NewtonUserJointAddAngularRow. friction value is context sensitive, if for linear constraint friction is a Max friction force, for angular constraint friction is a max friction is a Max friction torque.

See also

NewtonUserJointSetRowMinimumFriction NewtonUserJointAddLinearRow NewtonUserJointAddAngularRow