Hi,
I’m using sensors for initial collisions. I’m having a problem when I turn on 'physics.setDrawMode( “hybrid” )., which shows the boundaries of my sensors. Collisions aren’t being detected until I am well inside the sensor, (see image) shouldn’t they be detected as soon as the two bodies touch?
I define my sensors as follows:
physics.addBody( object, { density = 4.0, friction = 1, bounce = 0.1, radius=48 } , {radius=500 , isSensor = true})
and for my player:
physics.addBody( player, { density = 5.0, friction = 1.0, bounce = 0.0, radius = 60 } )
Thanks, Greg