Hi All,
I’m using OrbitControls
to run the camera but I want to disable the camera and enable zoom just.
Can I do that?
controls.enableZoom = true;
controls.enabled = false;
Hi All,
I’m using OrbitControls
to run the camera but I want to disable the camera and enable zoom just.
Can I do that?
controls.enableZoom = true;
controls.enabled = false;
Unfortunately, that does not work. You have to keep enabled
to true
and set enablePan
/enableRotate
to false
.
Thank you @Mugen87