I got a topic which give me headaches for quite some time. Many times we have 3d objects together with “infoboxes”.
So for example: I click an object, the camera zooms to that object and a “infobox” is opening. Now I would like to have the 3d object on the left hand side of the screen and the infobox on the right hand side.
When I now wanna rotate the object (orbit the camera) the object is flying in a circle around the screen edges. Because the target of the camera is in the center of the screen but not of the object.
Is there anyway to change this behaviour of the camera? So that when I orbit the camera center is at the object. But make sure the object stays at the left hand side of the screen?