Difference between revisions of "NewtonUserJointSetRowAcceleration"

From Newton Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 10 June 2019

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.

See also

NewtonUserJointAddLinearRow NewtonUserJointAddAngularRow