This topic has been discussed in the past. Have a look at this topic and see if any of the provided sippets work for you.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Incorrect Positioning of camera | 1 | 845 | January 28, 2020 | |
| Make position of camera zoom and fiit to object after click | 5 | 3275 | July 26, 2022 | |
| Three.js I want when I click on the object it zooms towards the center DOM | 2 | 1657 | July 24, 2021 | |
| Camera Zoom To Fit Object | 34 | 77049 | April 14, 2023 | |
| Centering a 3D model & Targeting with OrbitControls | 0 | 538 | May 22, 2022 |