Getting force of collision

How can I make like a destructable crate that'll break after recieving the correct amount of force, for example, I don't want it to break if a heavy object is resting on it, but if it falls on it, or is flung at it, destroy it.
Have a look at the Result event from the contact listener. It contains the actual impulses applied between two shapes, which will be high only during collisions, not when one object is supporting another.
Is there a way to get the Result event of only Add collisions and not Persist ones?
No, you'll have to do the work of storing which contacts are new and matching them up. But mostly you don't care whether the contact is new or not, you just care how hard it has been hit, so there is no need to filter. E.g. if I wrapped a vase in a piece of paper, and hit it with a hammer, you would still expect it to smash, even though there is no new contacts on the vase.
Can anyone tell me the variable for this collision force?

Cheers
Code:
/// This structure is used to report contact point results.
struct b2ContactResult
{
   b2Shape* shape1;      ///< the first shape
   b2Shape* shape2;      ///< the second shape
   b2Vec2 position;      ///< position in world coordinates
   b2Vec2 normal;         ///< points from shape1 to shape2
   float32 normalImpulse;   ///< the normal impulse applied to body2
   float32 tangentImpulse;   ///< the tangent impulse applied to body2
   b2ContactID id;         ///< the contact id identifies the features in contact
};
Thanks for the reply Boris -

but, i think the AS3 version returns the b2ContactPoint after a collision, which doesnt include normalImpulse or tangentImpulse

Code:
/// This structure is used to report contact points.
public class b2ContactPoint
{
   public var shape1:b2Shape;                  ///< the first shape
   public var shape2:b2Shape;                  ///< the second shape
   public var position:b2Vec2 = new b2Vec2();      ///< position in world coordinates
   public var velocity:b2Vec2 = new b2Vec2();      ///< velocity of point on body2 relative to point on body1 (pre-solver)
   public var normal:b2Vec2 = new b2Vec2();      ///< points from shape1 to shape2
   public var separation:Number;               ///< the separation is negative when shapes are touching
   public var friction:Number;                  ///< the combined friction coefficient
   public var restitution:Number;               ///< the combined restitution coefficient
   public var id:b2ContactID = new b2ContactID();   ///< the contact id identifies the features in contact
};
No? If you are using the 2.0 version of Box2DAS3, you should see pretty much exactly as I described. Add, Persist and Remove contact listener events passes a b2ContactPoint, but Result passes a b2ContactResult.

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