- Home /
Model should face geographical head north.
Hi, I am working on a android application in which i will place 3d objects based in geographical location. This is working good. The problem is always the generated gameobject should face geographical North direction. How to do it. I have tried
transform.rotation = Quaternion.Euler(0, -Input.compass.magneticHeading, 0);
it is not working. Is there any other way gameobjects should face geographical north.
Your answer
Follow this Question
Related Questions
Low memory crash on IOS when changing orientation 1 Answer
Instantiating prefab of object like it was in the scene 0 Answers
How do i determin if an objects rotation is between 2 values on each axis? 0 Answers
How to consistently check if GPS is enabled 2 Answers
How to lock rotation in z of my camera while rotating the camera by using mobile gyroscope input 0 Answers