isSensor collision won't fire?

I cannot seem to get my sensor to receive collision events. I’ve tried using preCollisions, postCollisions, static bodyType, different shapes, disabling collision filters, etc., but it doesn’t fire. As soon as I set the same thing to isSensor = false, it all works and collisions are received…

Can anyone help?
(Sorry I don’t have a really short code snippet as it’s all part of my sprites engine…) [import]uid: 10284 topic_id: 4720 reply_id: 304720[/import]

Not sure if this is your issue or not but I was having the same issue as you are describing and someone in the forums told me that sensors don’t fire pre/post collisions, they only fire on the collision event. I switched mine over to the collision event and sensors work perfect.

Give that a shot if you haven’t already.

-clark [import]uid: 5786 topic_id: 4720 reply_id: 15055[/import]

Sounds exactly like the solution to my problem then, thanks so much! Indeed I only checked pre and post collision and nothing else. I will give your suggestion a try and will report back! [import]uid: 10284 topic_id: 4720 reply_id: 15057[/import]

ANy news on this? My sensor is not firing collisions when set to anything but dynamic. [import]uid: 8192 topic_id: 4720 reply_id: 28188[/import]

me too: http://developer.anscamobile.com/forum/2011/03/16/statickinematic-collision [import]uid: 6645 topic_id: 4720 reply_id: 28235[/import]