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

void TA::DynamicObject::AccumulateLinearForce (
const Vec3 &   v3WorldForce  )
 

Call this function to add a force linear force to the accumulated force. This is the same as calling TA::DynamicObject::AccumulateForceAndTorque with the parameter v3WorldPosition pointing to the center of mass. No rotation will be caused by this force.

This function is designed to be used if when overriding TA::DynamicObject::Update.

See also:
TA::DynamicObject::AccumulateForceAndTorque, TA::DynamicObject::ClearForceAndTorque, TA::DynamicObject::AssertForceAndTorqueCleared, TA::DynamicObject::AccumulateGravity, and TA::DynamicObject::ApplyForceAndTorqueToVelocities.
Parameters:
v3WorldForce
The force to apply to the dynamic object in world space. (kg.m/s2).



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