There’s quite a lot of resources on how to achieve this, have a look into this thread for instance, the entire thread is quite useful…
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Camera Zoom To Fit Object | 34 | 77335 | April 14, 2023 | |
| Zoom Camera to Object | 3 | 427 | March 22, 2024 | |
| Zoom Extents in Three JS | 4 | 473 | December 19, 2023 | |
| Fit projected/'perceived' bounds of mesh into viewport | 8 | 907 | May 30, 2024 | |
| How to add a Zoom In - Zoom Out button to a scene | 7 | 10493 | June 7, 2022 |