About sensors

Hi!

I already implemented my contact listener using the same way that TestBed (Presolve and store contact points). And it works very nice.

However, it seems it does not work with sensors.

I see "Testbed sensor demo" uses BeginContact and EndContact.

My question is: should I use a similar aproach? I mean:
Solid bodies: Presolve. (I already do that storing different contact points and normals)
Sensors: BeginContact and EndContact. Storing an overlapped pointer to object (fixture or shape).

What do you think?

Thanks.

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