I want to use tablet orientation to control a ball. How do I translate beta and gamma to the x and y positions of the ball?
I know they're in the touch object, I just don't know how to go about it and can't find much in search.
Develop games in your browser. Powerful, performant & highly capable.