NewtonUserJointSetRowAcceleration

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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