Question by
Payton-Dugas · Jan 16, 2017 at 03:17 AM ·
rotationgun
Rotations inside gameObjects
I cant tell exactly what goes on when I try to rotate an object inside of a gameObject with script. I placed my camera inside of a gameObject for more manipulation, so I can rotate the camera, and then rotate the gameObject at the rotations of the camera. Anyways, that doesn't mater. My questions is: If I specify quaternion values for an object inside of a gameObject that is a set rotation, how does the rotation work? So lets say the gameObject is at (90,0,0). If I rotate the camera inside the gameObject does 45 deg, does the angle add up to 135. It doesn't seem to work that way, because the camera is at a totally strange angle. Its a weird concept, and it doesn't make sense to me. Thanks for the help if anyone understands my question.
Comment