Extended map controls

I want camera control like in this example: Explore – Lewa House
However, I have the problem that when I tilt the camera downwards so that it looks at the map, the axis of rotation changes. This affects the viewing direction to the left and right when hovering over the screen with the mouse.

How can I rotate the camera axes independently of each other?

Thanks for the help in advance

Is it this what you want to achieve (no rotations used):

https://codepen.io/boytchev/full/yLdNbvz

And here is my default offtopic info.

2 Likes

Yes, that was what I was looking for.

Thanks :wink:

Although you seem to be happy with the solution by @PavelBoytchev, you may find this resource helpful as well:

2 Likes