Modify camera perspective based on model position

Click on a model and pull the camera in to the corresponding position of the model.

Hi @yang1117,

You can code a similar method by calculating the total aabb (bounding box) of the model, to find the right distance to place your camera.

Check the model viewer starter project, the orbit camera includes similar functionality (Frame Object).