I am running Three.js r69 with OrbitControls.js enabled. I have a simple scene with several objects that can be selected. I would like to turn off scaling while the object is selected and turn it back on as soon as I clear the selection.
I am working on a workaround, but it includes editing the OrbitControls.js code. This can be annoying when upgrading to the new version of Three.js, especially if OrbitControls is ever changed.
Is there a way to enable / disable some functions (e.g. zooming, panning, or cycling) on ββthe fly independently of each other?
source share