I am writing a game were I am moving objects on accelerometer change. I want object to move very smoothly, even small change in accelerometer should update position of object.
how to deal with accelerometer noise here? That is accelerometer event will keep on firing, even I am not moving my device.
I have browsed for it but could not found any good solution.
I have also tried solutions like setting threshold, or keep a last updated value in a variable and it if changes then update object position etc. But these will not help in smooth movement.
Games on iphone and android market does this. Object moves very smoothly.