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

void TA::DynamicObject::AccumulateForceAndTorque (
const Vec3 &   v3WorldForce,
const Vec3 &   v3WorldPosition
 

Call this function to apply a force to the accumulated force and torque.

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

See also:
TA::DynamicObject::AccumulateLinearForce, 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).
v3WorldPosition
The position, in world space, where to apply the force to the dynamic object. (m)
Examples:
DynamicObjectOverrideExample.cpp.



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