Comments on: 3D Camera Movement in Three.js – I Learned the Hard Way So You Don’t Have To https://blogs.perficient.com/2020/05/21/3d-camera-movement-in-three-js-i-learned-the-hard-way-so-you-dont-have-to/ Expert Digital Insights Mon, 25 Sep 2023 20:57:06 +0000 hourly 1 By: Joe https://blogs.perficient.com/2020/05/21/3d-camera-movement-in-three-js-i-learned-the-hard-way-so-you-dont-have-to/#comment-77057 Thu, 30 Jun 2022 10:42:57 +0000 https://blogs.perficient.com/?p=274947#comment-77057 Thanks so much that last point about slerp is a life saver! Been looking all over the place for a solution to this. Just a note that function is now depreceated, something like this works instead:

const qm = new THREE.Quaternion();
qm.slerpQuaternions(startQuaternion, endQuaternion, time.t);
camera.quaternion.copy(qm);

]]>