I'm having a hard time figuring out how to zoom an OrbitControls
with Three.JS
.
I have looked through the source many times and I can see methods called dollyIn()
and dollyOut()
but I can't access them from my own code.
I have tried the method .zoom
but it does nothing.
Is it possible to zoom by code?