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

void TA::Physics::SetOnBrokenJointCallBack (
OnBrokenJointCallBack   pFnOnBrokenJoint  ) [inline]
 

Call this function to provide a function to be called when a joint breaks.

See TA::PhysicsJoint::SetBreakForce for details on breakable joints.

Example use
Defining the function.
    void TA_CALL_BACK OnBrokenJoint(TA::Collision& collision)
    {
        return true;
    }
Setting the function.
    TA::Physics::GetInstance().SetOnBrokenJointCallBack(
        OnBrokenJoint);
See also:
TA::Physics::GetOnBrokenJointCallBack() and TA::Physics::OnBrokenJointCallBack.



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