I don't want my sensor affected by gravity.

Hi!
I want to use sensor to detect where the player is going but the problem is that the sensor is falling down (i use gravity). So i tried to give it a “static” property but then the payer can’t go through.

local sensor0101 = display.newRect( 144, 0, 64, 16 ) sensor0101:setFillColor( 19, 162, 253, 100 ) physics.addBody( sensor0101, { isSensor = true } )

What can i do? [import]uid: 25327 topic_id: 7597 reply_id: 307597[/import]