In my script I am using orbit controls and drag controls. I have created a cube using three js. When I am scrolling up , it is zooming and I can see inside of the cube. But After a certain level, I can’t zoom in. How to increase the zooming level of the three js object.
Probably because you are close to the
target vector of
OrbitControls. It’s important to highlight that it’s not possible to infinitely zoom in along the view direction with
OrbitControls. This will become more obvious if you study how the controls are implemented.
there is no need for infinite zoom. But I have to extend that limit for small distance.
If it’s “behind” the target vector than it’s not possible.
Then the target vector should decide the zooming limit right?