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
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