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

void TA::DynamicObject::SetLinearVelocity (
const Vec3 &   v3LinearVelocity  ) [inline]
 

Call this function to set the linear 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::GetAngularVelocity, TA::DynamicObject::SetAngularVelocity and TA::DynamicObject::GetVelocityAtWorldPosition.
Parameters:
v3LinearVelocity
The new linear velocity for the dynamic object. (m/s).



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