destroy joints on collision

Hello,

I'm new to Box2D and playing around with the Biped class. I'd like to make it lose body parts (only) on hard crashes. Can anyone tell me how to handle this ?

Thank you and sorry for my bad English.
You can get the reaction force and reaction torque, respectively on a joint by calling the following
Code:
joint.getReactionForce();
joint.getReactionTorque();

You can place a limit on these and destroy the joint if the limit is exceeded. Destroy the joint by calling the World.java destroyJoint function.
Code:
world.destroyJoint( joint );
@pogalog
Thank you very much.

Original thread: https://box2d.org/forum/viewtopic.php?t=5846