I have a globe rendered in Three.js.
I want to be able to move the camera to the selected city while maintaining the Z distance from the globe.
If moving the camera is not practical, I am wondering also how I rotate the group to point the object at the camera.
Here is what I have so far
notice the goToSeattle function, which I have the object and the camera, I am just not sure how to achieve the desired effect. I am not worried about a smooth animation right now, just want the camera to be looking at the object so when I use the mousewheel, the camera zooms in on the selected city.
Thanks in advance for your consideration!