I'm currently working on an online gallery and I am having trouble with the camera movement when scrolling.
Whenever I try to rotate it along the Y axis, it ends up rotating three times around its axis which is not the desired behavior!
I am trying to achieve a similar effect like the one at this
https://virtual.plus-ex.com/showroom
website where, in easy mode, the camera moves and rotates automatically.
You can check out my pen here:
https://codepen.io/lucas23456/pen/jOzpVYd
The goal is for the camera to look at the wall with pictures once trigger 4 is passed.