'unity stop looking down after certain point
hi in my code I have some values I need to get, so far i already have a way to look up and down but I want it to stop after a certain point. I need to get the x axis into a value but my eulerAngles
isn't working if u want more information ask me
the module i have on my object (camera) is the default transform not rectransform``` here's my code the
eulerangles```` aren't working;
if (anglex <= 60){
and
anglex = transform.eulerAngles.x;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|