Hi,
I’m going to be designing a small 2d rigid body system soon. Nothing crazy, just the basics. I know how to do the physics aspect and how to use verlet integration. I’ll be using BitmapData.hitTest to determine if objects are colliding (irregular shapes). However, in order to calculate proper moments and forces during collision, I need to know the point of collision on the bodies. How would I go about doing that? Is there a way to get the point where the hitTest function finds a collision and returns true?
Thanks in advance