Hi, I am trying to make the an object move right to left when you tilt the phone to its sides using the accelerometer. Does anyone know how to do this; if so how?
Here Is a video I found showing you what I would like to do: https://www.youtube.com/watch?v=pt90R6URUu4
In the video The space ship moves right to left when you tilt the phone, That is what I am trying to do.
Thanks in advance!![]()