I’m looking for a way for my game to have a very responsive left, right tilt.
I’ve set friction to 0.0 and density to 2 (i’ve tried various settings). I also tried moving gravity though various settings.
For example:
physics.addBody( mySpriteInstance, “dynamic”, { density=2.0,friction=0.0 } )
function onTilt( event )
–9.8 is similar to earth gravity… may need to adjust
physics.setGravity( (30 * event.xGravity ), 0 )
end
Can anyone recommend some good settings? It seems there is still some lag when I tilt left and right.
Thanks!! [import]uid: 4438 topic_id: 4134 reply_id: 304134[/import]