Hi,
I am controlling the left right motion of my model in game by using Accelerometer on X, but the problem is that as game progresses, the sensitivity keeps on increasing, and then its really difficult to control.
I have done this -
velX = - (float) ((accX/20) * 2 * (current - movementTimer) ) /60000;
float xDiff;
xDiff = (velX);
x -= xDiff;
Can you please suggest what is wrong?












Try sampling the Accelerometer over several frames and take the average.