Difference between revisions of "NewtonBodyGetTorque"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
NewtonBodyGetTorque
void NewtonBodyGetTorque( const NewtonBody* bodyPtr, dFloat* vectorPtr)
Usage
Get the net torque applied to a rigid body.
Parameters
- const NewtonBody *bodyPtr - pointer to the body.
- const dFloat *torquePtr - pointer to an array of 3 floats to hold the net torque of the body.
Return
- Nothing.
Remarks
- This function is only effective when called from NewtonApplyForceAndTorque callback.
See also
NewtonBodyAddTorque, NewtonBodySetTorque, NewtonBodyGetTorqueAcc