Hi! I'm trying to make a physics ball game where the ball's gravity depends on the orientation of your phone screen. I've gotten it to partially work, with tilting the screen left or right will move the ball. However, it will not work if I go off a ledge and turn my phone around to slow my descent. Here is the code I'm using:
Every Tick | Sprite apply physics force Sprite.Physics.Mass*0.2 at angle -Touch.Gamma + 90 at image point 0
Is there something I'm not seeing? I can't find a workaround to this problem. Thanks!