HI
i am facing some problems with the accelerometer. i want the ball to revolve around a
circular axis depending on the accelerometer input,but i want the input only around one axis.
i want something like this
i.e suppose if i tilt the iphone towards left a force should be applied on the ball and it should move towards the left and vice versa .i am placing two cylindrical rings which have collider attached to them and i am moving the ball between them.