NewtonBodySetOmega

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

NewtonBodySetOmega

void NewtonBodySetOmega( const NewtonBody* bodyPtr, const dFloat* omega)

Usage

Set the global angular velocity of the body.

Parameters

  • const NewtonBody *bodyPtr - is the pointer to the body.
  • const dFloat *omega - pointer to an array of at least three floats containing the angular velocity vector.

Remarks

The angular velocity vector is specified in global space.

See also

NewtonBodyGetOmega NewtonBodySetOmegaNoSleep