- Home /
Question by
TheMantaRay · Apr 02, 2017 at 09:24 PM ·
rotationgyroscopecompass
Unity 3d Phone Direction?
I am trying to get an object to face the correct direction when the app starts. The direction i want it to face is the direction the phone is pointing, i cannot for the life of me figure out how to get that rotation (only about the y axis). And i havent found any documentation on it, other than getting the trueHeading, but i cannot think of a way to use this to rotate in the direction the phone is facing?
Comment
Your answer
Follow this Question
Related Questions
Rotation script for Android using acceleration 0 Answers
Why the control with gyroscope inverted when I make 180 degrees turn? 1 Answer
Get absolute acceleration data from accelerometer/gyroscope but neglect rotational acceleration 1 Answer
Get 360-degree rotation in on-screen directional arrow? 0 Answers