Accelerating with Accelerometer

Can someone please explain the following expression to me:
max(40,min(1000,1000*abs(game.Accelerometer.X)))
I wish to adjust the sensitivity/responsiveness of the acceleration of an actor, differing with every level. ie. easy to control at first and get progressively harder.
Is adjusting this expression the right way of doing it or should I be adjusting the Physics settings of the actor?
Thanks in advance.
max(40,min(1000,1000*abs(game.Accelerometer.X)))
I wish to adjust the sensitivity/responsiveness of the acceleration of an actor, differing with every level. ie. easy to control at first and get progressively harder.
Is adjusting this expression the right way of doing it or should I be adjusting the Physics settings of the actor?
Thanks in advance.
Comments