Hello, I want to make a bar that’s value will go up when your camera is up, but goes down if your camera is facing down. I was wondering what the best way to do this is? I don’t want this value to be negative, only positive
ok well first you should probably make maxes mids and minimums, since u dont want it to go to negative numbers, its best to use a 1-100 system so 1 would be facing completely down, and 50 would be facing right in the middle, im not gonne give you a script cuz people need to learn, so all i will say, is just, get the cameras y angle, lets say x = 180 / 100, and then you just make it so value= (cameraY) * x and done
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.