- Home /
eulerAngles.y always returns 179.9999
I am trying to get a transform's rotation around its y axis, however both eulerAngles and localEulerAngles seem to always return 179.9999, though the transform is rotating. The code is in C#, void Update () and it's simply
eulerYRotation = GameObject.FindWithTag("Player").transform.eulerAngles.y;
WHY?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612172339im_/https://answers.unity.com/themes/thub/images/avi.jpg)