Question by
Jadiker · Feb 02, 2016 at 10:17 PM ·
orientationanglesground
How to get the angle between the xz plane and the object
This seems like a really simple question, but I'm band-new to Unity and I'm having a hard time understanding how the rotations work.
Let's say I have an object at ground level (the center of the object is at (0, 0, 0). How do I calculate the angle at which the object is pointing "up"? (theta in spherical coordinates)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612062754im_/https://answers.unity.com/themes/thub/images/avi.jpg)