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 | 824 | January 28, 2020 | |
Make position of camera zoom and fiit to object after click | 5 | 3138 | July 26, 2022 | |
Three.js I want when I click on the object it zooms towards the center DOM | 2 | 1636 | July 24, 2021 | |
Camera Zoom To Fit Object | 34 | 75844 | April 14, 2023 | |
Centering a 3D model & Targeting with OrbitControls | 0 | 526 | May 22, 2022 |