We have a 3D globe with continents on it. When a continent is clicked I would like to rotate the globe so that the clicked continent is shown in the center of the current camera view.
I was thinking about FromToRotation. But I am not quite sure how to get it to work. How would you guys solve the problem above?
The idea with this approach is, that you get rotation from continent vector. And you apply the rotation to the camera, or whatever else needed.
Is simple to implement.
With this approach, you can easily increment value of either, and have nice smooth camera around the globe.