In the Model Viewer scene, how can I get the camera to initialise at a certain zoom distance? I’ve tried moving the camera, changing the distance in the script, changing the FOV. Everything I can think of. But it still starts with the model far away with everything visible.
I’m guessing the camera initialises somewhere to take in the whole scene? Please can you help me out with how to start the scene at a fixed zoom distance decided by me?
Model Viewer script tries to get model AABB and move camera away enough to see all content of scene.
You could replace content of setBestCameraPositionForModel with this: