Is there a way to animate the camera reset movement us Three JS?
I am using the following code to reset the camera, but it reset instantly. I wonder if there is a way to animate the camera reset movement.
$(".rest-btn").on('click', (e) => {
camera.position.x = 0;
camera.position.y = 0;
camera.position.z = 150;
});