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

float TA::PostCollision::GetIntersectingDepth (  ) const [inline]
 

Call this function to get the intersecting depth where the collision occurred. The value is in meters. An intersecting collision only occurs if two objects are intersecting at the start of a physics update. If a collision occurs after the start of physics update, then the intersecting depth will be zero and the time that the collision occurred can be obtained by TA::PostCollision::GetTime.

Returns:
The intersecting depth.



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