Hello, I was wondering how I would go about having a distance joint being broken upon an object be hit.
i.e there is a block connected to another block by a distance joint and when one of those blocks gets hit then the distance joint breaks and the two blocks aren't connected anymore.
Any help would be greatly appreciated.
-Nick
P.S I'm using Box2d