How to make the center of the Globe move to the center of the screen when zooming out?
Just like Google Earth, when I zoom out, the center of the Globe slowly returns to the center of view.
Hi there,
To get the exact behavior you want, I would suggest reading through our Camera tutorial to understand how zooming works.
My thoughts are that you’ll want to target the origin (0, 0, 0) once the camera reaches a certain distance. You can subscribe to the scene.postRender
event to make an update each frame.