NewtonBodyGetAngularDamping

From Newton Wiki
Jump to: navigation, search

NewtonBodyGetAngularDamping

void NewtonBodyGetAngularDamping( const NewtonBody* bodyPtr, dFloat* angularDamp)

Usage

Get the linear viscous damping of the body.

Parameters

  • const NewtonBody *bodyPtr - is the pointer to the body.
  • dFloat *angularDamp - pointer to an array of at least three floats to hold the angular damping coefficient for the principal axis of the body.

See also

NewtonBodySetAngularDamping