Rookie issue: trying to get the rotation of an object as a variable. I keep seeing instructions to use transform.eulerAngles, but if I’m understanding the API manual correctly, Euler Angles are a type of rotation incremented differently than basic transform.rotation, and are, therefore, not the only way to get that value. Along with this, I think the reason my programmed barriers for the camera’s rotation are not working properly is BECAUSE of the fact that I am plugging in Euler Angles. I don’t want to use Euler Angles; just give me the default format for getting the object’s rotation. Gah, talking about code is hard.
A Euler Angle is a way of measuring angles, yes? As opposed to some other form of angle format?
I’ve tried using Euler Angles in my code, but it seems like that variable is playing by different rules than the rest. A big problem is I’m just not sure what they are and what they do; the API was not helpful. Anyone good at this stuff who knows more about Euler and his fancy angles than just “it’s what you plug in to get the object’s rotation”, please put it in plain English, because even my mom who has been a computer programmer for her entire professional career was unable to make heads or tails of it.