NewtonUserJointSetRowMinimumFriction

From Newton Wiki
Jump to: navigation, search

NewtonUserJointSetRowMinimumFriction

void NewtonUserJointSetRowMinimumFriction( const NewtonJoint* joint, dFloat friction)

Usage

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

Parameters

  • const NewtonJoint *joint - pointer to the joint.
  • dFloat friction - friction value for this row. It must be a negative 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 Min friction force, for angular constraint friction is a friction is a Min friction torque.

See also

NewtonUserJointSetRowMaximumFriction NewtonUserJointAddLinearRow NewtonUserJointAddAngularRow