NewtonUserJointSetRowAcceleration
NewtonUserJointSetRowAcceleration
void NewtonUserJointSetRowAcceleration( const NewtonJoint* joint, dFloat acceleration)
Usage
Set the value for the desired acceleration for the current constraint row.
Parameters
- const NewtonJoint *joint - pointer to the joint.
- dFloat acceleration - desired acceleration value for this row.
Remark
This function will override the default acceleration values set after a call to NewtonUserJointAddLinearRow or NewtonUserJointAddAngularRow. friction value is context sensitive, if for linear constraint acceleration is a linear acceleration, for angular constraint acceleration is an angular acceleration.