- Home /
Gyroscope to move object left and right
Hello everyone..
I have not experienced with GYROSCOPE but have been familier with ACCELEROMETER.
Basically i want to move object horizontally . Suppose if my device goes left then object should move right same for right .
I dont want to tilt to move object.
Is this possible with gyroscope ? And if yes then please guide me .
Thanks.
Answer by alok-kr-029 · Feb 27, 2015 at 06:56 AM
Debug(Input.gyro); hope this will help you out just use unity remote to debug and give the input to your object you dont have to tilt your phone
If not that check the link provided . but all android device dont have gyroscope in it first check if you device have gyro or not. you can check it here http://www.gsmarena.com/
Your answer
Follow this Question
Related Questions
Gyroscope Vs Accelerometer 2 Answers
anonymous function with arguments in unityscript 2 Answers
Accelerometor/Gyroscope position tracking? 1 Answer
Why is the Gyroscope inverted? 0 Answers