True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

void TA::DynamicObject::SetAngularVelocity (
const Vec3 &   v3AngularVelocity  ) [inline]
 

Call this function to set the angular velocity of the dynamic object. The velocity is in world space.

Note:
Extremely high velocities will be clamped.

If the object is at rest, calling this function will have no effect. Use the function Ta::Physics::SetDynamicObjectIsMoving to make sure the object is not at rest.

See also:
TA::DynamicObject::GetLinearVelocity, TA::DynamicObject::SetLinearVelocity, TA::DynamicObject::GetAngularVelocity and TA::DynamicObject::GetVelocityAtWorldPosition.
Parameters:
v3AngularVelocity
The new angular velocity for the dynamic object. (rad/s).



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.