Hi there,
My goal is to let the instant values of the accelerometer decide the direction of my player object (a ball) and let the accelerometer gravity hold that direction as the Instant will fall back to a value of 0 if I hold my phone in a set position.
How it looks right now without the combination
local function onAccelerate( event ) if event.yInstant \> 0.05 then physics.setGravity(-12, 16) else if event.yInstant \< -0.05 then physics.setGravity(12, 16) else physics.setGravity (0, 16) end end end
Help/reflections is much appreciated 
