How to choose an appropriate path for the camera to move?

I recently wanted to achieve the effect of an entrance animation
For example, when the camera rotates to a certain place, a button is used to trigger the camera to select an appropriate path for moving. After moving to the final position, the camera can still rotate

Hi @leooooooo! The example project below can help you to achieve this.

https://developer.playcanvas.com/en/tutorials/camera-following-a-path/

How do I stop this camera and rotate it 360° from this tutorial

Do you have a good way for the camera to automatically find a suitable path to move, I tried tween.js, but it goes through the model