How to detect persist in 2.1a?

Hi,

I've just ported to 2.1a and can't seem to find how to detect persisting collisions. (for example an enemy that keeps hitting the player). I've looked all over the forum but can't find a direct answer.

Avatara
Ok I guess that the new version of the contact listener doesn't support this feature. I guess you can just add contacts to an array and keep them there until they are removed.

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