- Home /
multiplying gyro output
All i need is gyro input in, multiply by modifier then move camera by the result. Surely this must be possible although i can't find a single example of it. Should be really really simple but i just can't make it work ( also eulers don't work as gimbal lock breaks them)
i.e. so if i move the phone 45 degrees the camera moves 90 degrees.
Have you looked at the Gyro documentation where they have an example of taking a Quaternion from the gyro, converting from right handed orientation (which the gyro is) to a left handed orientation (which Unity uses)?
thanks, yes i had a look, i'm using that bit in my code now, it did help fix some issues but it seems to break as soon as i try to cancel out the devices current rotation. Here's the new question which contains the code.
https://answers.unity.com/questions/1528724/using-difference-in-2-quaternions-to-cancel-out-st.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612170442im_/https://answers.unity.com/themes/thub/images/avi.jpg)