- Home /
Question by
hipo214 · Sep 10, 2021 at 12:42 PM ·
anglegyroscopegimbal-lock
Get Gyro 3-Axis Angle of Smartphone in Unity
It is possible to rotate an object by importing the quaternion data from the smartphone's Gyro in Unity.
The current problem is that in the process of converting from quaternion to Euler to know the 3-axis angle, a gimbal lock occurs and the data on the x-axis does not come out properly.
How can I solve this?
Comment
Your answer
Follow this Question
Related Questions
multiplying gyro output 0 Answers
Gyroscope steering - set default position of phone 1 Answer
Apply force at an angle or transform.rotation 1 Answer
Need a little help with quick angle equation 2 Answers
Calculate vector3 from angle 2 Answers