How to calculate freecamera position and rotation from ArcRotateCamera?


Here is the playground. When I change from ArcRotateCamera to FreeCamera, the screen shows different. So, how to set freeCamera’s position and rotation ( maybe should set target too?), to make these two camera render the same picture.


I think I find the approach. FreeCamera_MouseWheel | Babylon.js Playground (