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

const DynamicObject::LineIntersection & TA::DynamicObject::GetLineCollision (
int   nIndex  ) const [inline]
 

Call this function to retrieve details about a line collision that occurred during the last call to TA::Physics::Update(). See TA::CollisionObjectLineList for details. The number of line collisions can be found by calling the function TA::DynamicObject::GetNumLineCollisions().

Parameters:
nIndex
The index of the line collision to retrieve.
Returns:
A reference to a LineIntersection object that contains information about the collision. This will be valid until the next call to TA::Physics::Update().



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