Hello, everyone
(I’m using unity 4.5)
Unity accelerometer doesn’t work properly, i’m trying to do the exact way provided here:
http://unity3d.com/learn/tutorials/modules/beginner/platform-specific/accelerometer-input
I have set a cube like in the tutorial then i did assign the same code that is provided in tutorial to the cube, but the weird behavior is that the cube starts moving in the negative z-axis by itself without me touching the mobile, also the mobile is placed on a flat surface, in addition to that it moves insanely fast!
Note that i have tried it on two defferent devices, one is xperia z and the second is galaxy s4
but the result is the same.
any idea on what actually the problem is?
Thank you all for your time.