The collision isn't detected

Hi,

 My collision event is not detected when “player.isSensor = true and player.isBullet = true” are “activated”.

I need my object to be a sensor,because I don’t want it to move when it colides with another object.Here’s the code:

Oftopic: How can I build my android app on Linux?

Thanks,

Bogdan

local player = display.newImageRect ("newplane.png",80,65) player.x = 50 player.y = 250 physics.addBody (player,"dynamic") player.isSensor = true player.isBullet = true sceneGroup:insert (player)