Enable/Disable Rotation, Pan, Zoom in Camera Controls

Hi, Is there any way to disable/enable only the rotation, pan, zoom options in Camera Controls. In that, the enabled option sets enabled or disables all controls.

three.js docs ? examples/en/controls/OrbitControls.enablePan

1 Like

I have no experience with CameraControls, but you may want to have a look at this demo:
https://yomotsu.github.io/camera-controls/examples/config.html

You can use CameraControls.ACTION.NONE to disable individual mouse buttons or touches. Maybe there is something like this for keyboard keys too?

I’m using an external library for Camera controls.

Thanks. I’ll try this.