Within the three.js 3D environment, I am working with several MESH objects that have predetermined positions along with a camera object.
My goal is to create a functionality where, upon clicking a button, the camera will automatically rotate and zoom (adjust its position) to center the user's view on the chosen object. The selected object's position is already known.
I would greatly appreciate any suggestions or tips on how to implement this feature effectively.