- Home /
Gyroscope added rotation
Hi,
I have a camera which is following an itinerary in which I am changing the position and the rotation of the camera.
But what I need now is to add the ability to rotate with the gyroscope any time. The problem is if I do this the forward direction of the camera has changed but not the gyroscope. I have tried adding the two rotations as quaternions:
finalQuaternion = camera.rotation * gyro.rotation;
But it does not work. I just need to know if this is possible and need some help to solve it.
Thank you in advance!
Your answer
![](https://koobas.hobune.stream/wayback/20220613013314im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to set child position and rotation fixed respect parent? 0 Answers
Why the control with gyroscope inverted when I make 180 degrees turn? 1 Answer
How do you remove jitter from input.gyroscope.attitude? 1 Answer
Virtual Reality - Android Gyroscopic Camera - Pitch and Roll Issues. 1 Answer
Gyroscope smooth transitions (minimizing jerk from tiny movements) 1 Answer