Sensors?

How can I use sensors and get callbacks in my b2ContactListener class?

I do get callbacks for all kinds of collisions, but not for collisions with my sensor object. I have read a lot of discussion in this forum about static objects and sensors - this does not seem to be the problem here: While my sensor object is static, the objects it should collide with are not.

Have sensors been properly implemented in the Flash AS3 Version of Box2D? If yes, could someone please give hints as for how to use them, and maybe a small piece of sample code?

thank you!
Johannes
Sensors should work exactly like other objects for collisions, there are no outstanding bugs in this area. Make sure you are not filtering the shapes, as that will prevent detection.

As a suggestion, try turning off isSensor. If the objects subsequently collide, then you should definitely be receiving events. If they don't, something is wrong.
thank you, I'll give it a try!

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