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

const MFrame & TA::DynamicObject::GetPreviousFrame (  ) const [inline]
 

Call this function to get the previous position and orientation of the dynamic object. This returns the same value as a call to TA::DynamicObject::GetFrame before the last call to TA::Physics::Update. TA::DynamicObject::SetFrame resets this value.

This function can be useful if processing the positions of collisions in the list returned by TA::DynamicObject::GetCollisionIterator. All the collisions in this list are based on the objects previous frame.

Returns:
The previous position and orientation of the dynamic object.



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