Difference between revisions of "NewtonBodySetVelocity"
m (1 revision imported)
Latest revision as of 08:02, 10 June 2019
NewtonBodySetVelocity void NewtonBodySetVelocity( const NewtonBody* bodyPtr, const dFloat* velocity)
Set the global linear velocity of the body.
- const NewtonBody *bodyPtr - is the pointer to the body.
- const dFloat *velocity - pointer to an array of at least three floats containing the velocity vector.
- In 1.53, this function is only effective when called from inside the NewtonApplyForceAndTorque callback. As of 2.00, it can be called anywhere.