How can I stop the camera and enable zoom just

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.

1 Like

Thank you @Mugen87