I have like 4 object in my scene. I want the camera, as the user scrolls down, to look at the next object. I have the position of the next object, but when I do .lookAt(position) it jumps suddenly. I want to calculate the .lookAt euler in order to tween to that position. Is there any way to calculate it without calling on .lookAt?
You can probably do that with tween.js.
A simple example in the Collection of examples from discourse.threejs.org
I’m already using GSAP to animate the camera movement. What I want to do is calculate the rotation vector so I can smoothly transition between 0,0,0 to (hypothetically) 1,2,3.