Move camera with Tween

Hello, can you guys give me an example of how to move the threejs camera by a certain path with curves and with Tween.js ?
Othre thing that im really having trouble to do is using tween to change the camera.lookAt() of one point to another camera.lookAt(), i think that Tweenjs would do it smooth but i cant find the right way to do it

Maybe you’ll find inspiration there.

From the Collection of examples from discourse.threejs.org

Links to Discourse in source code.


https://hofk.de/main/discourse.threejs/2020/index2020.html
MovingCameraAlongSpline, TweenCamera

https://hofk.de/main/discourse.threejs/2019/index2019.html
SmoothTurnsToPath, TweenPause, TweenMoveObject, TweeningCameraRotation

https://hofk.de/main/discourse.threejs/2018/index2018.html
TweenCubesRotation


:slightly_smiling_face:

2 Likes

This may help? (see last example)

2 Likes

I will probably use this later, thank you!