I’m currently working on a project to create a smaller but similarly fun world to https://www.kodeclubs.com/. Two battles I’m combating right now are related to camera controls and movement. I’ve decided to use an ArcRotateCamera as it seems the best to manage targeted objects. In the Kode example the character remains in 3rd-person view then clicking on the navigation at the bottom-center it pulls out to a birds-eye or worldview.
First, I’m having trouble deciding how best to replicate the 3rd-person camera (from behind the character). There are a few examples scattered throughout Babylons forum but none are as fluid. Second, once I determine the 3rd person camera solve I need to make it possible to transition to worldview seamlessly.
My current solution would involve tweening the camera’s alpha, delta, position and rotations to the right coordinates while removing the input controls.
I’m wondering how a seasoned Babylon developer might solve this?