Id like to make some bodies break if its health drop under 0. What best way to determine the impact damage to the body should i use? Now i am using the normal force from the contact result, but it is not always perfect, since results and normal forces are generated every loop, not only on impact. And ADD contacts does not have normal forces computed
Collision impact force
Bugs, Requests, and FeedbackI haven't done this so I'm not sure, but couldn't you just make a note of when you get an 'add contact', and only use the result forces that occur during that world step?
Original thread: https://box2d.org/forum/viewtopic.php?t=1140