Hello Dan,
First I’d like to start off by thanking you for all the help that you’ve given people both directly and indirectly.
So here is my basic issue.
I have this code attached to a second layer and I am rotating the camera around my main layer only on the x axis (the horizontal axis, left right). When that value reaches 90 degrees, the other two values (Y and Z) return values of 180 degrees and the X value reverses it direction. So basically the camera should be returning a constant x value, increasing from 0 to whatever, but when it hits 90 it starts decreasing, then goes from 0 to 360 (which is ok) but continues to decrease until it reaches 270, then the Y and Z values jump to 0, and the X value begins counting up again, past 360 to 0, then up to 90, where it switches directions again. I have this code as part of a larger project and need to be able to return the full range of numbers so I can drive my animation. Any help on how to do this would be greatly appreciated!