NewtonUserJointAddGeneralRow

From Newton Wiki
Jump to: navigation, search

NewtonUserJointAddGeneralRow

void NewtonUserJointAddGeneralRow( const NewtonJoint* joint, const dFloat *jacobian0, const dFloat *jacobian1)

Usage

set the general linear and angular Jacobian for the desired degree of freedom

Parameters

  • const NewtonJoint *joint - pointer to the joint.
  • const dFloat *jacobian0 - pointer of a set of six values defining the linear and angular Jacobian for body0.
  • const dFloat *jacobian1 - pointer of a set of six values defining the linear and angular Jacobian for body1.
  • Remark
  • In general this function must be used for very special effects and in combination with other joints. it is expected that the user have a knowledge of Constrained dynamics to make a good used of this function. Must typical application of this function are the creation of synchronization or control joints like gears, pulleys, worm gear and some other mechanical control.
  • Remark
  • this function set the relative acceleration for this degree of freedom to zero. It is the application responsibility to set the relative acceleration after a call to this function

See also

NewtonUserJointAddLinearRow NewtonUserJointAddAngularRow