b2ContactManager

Hey Boris,

I found a problem where ENDCONTACT events were not being passed if contacts were only touching for a short period of time. I changed

Code:
if (c.m_manifold.m_pointCount > 0){
     m_contactListener.EndContact(c);
}


in the Destroy method of the b2ContactManager to...

Code:
if (c.IsTouching()){
     m_contactListener.EndContact(c);
}


and it seemed to fix the problem. Can you see any downside to doing that?

Thanks,
Bryan
Yeah, absolutely the right thing to do, this is a bugfix in C++ that I missed picking up. I'm ammending the AS3 now.
Awesome! Thanks!

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