How to make camera Rotation vertical to horizontal view

Can any one help me how to rotate camera for convert the view vertical to horizontal and keep the boundingBox center and fit that boundingBox to the viewport.

Check it here.


If I understand correctly, I think you need something like this :

and to change camera horizontal/verticality, check upVector like in this PG:

1 Like

Iā€™m trying to achieve like this using camera rotation.