Hello!

I’m having trouble controlling the vertical camera rotation around my model, that’s located at the origin.

My camera is located at some distance of the model, and the sideways rotation is being correctly done with a Quaternion that rotates around the Y Axis.

My problem is when I want to move the camera Up and Down, because I must take into account the rotation around X and Z at the same time. I understand that I can multiply quaternions to do so, but I can’t seem to find the correct relation among them.

Summarily, what I want is to be able to rotate the camera around the Origin such as it’s rotations describe a Sphere with radious = Distance between CamPos and Origin.

Then rotate the CameraNode instead rotating the Camera itself. Then the cam will be rotated around its pivot center(CameraNode).

Problem Solved!

Thank you very much for your help.