Hi All,
I am looking at implementing the Orbit controls, but would like to customise the mouse buttons.
I can see there’s the following object…
controls.mouseButtons = {
LEFT: THREE.MOUSE.ROTATE,
MIDDLE: THREE.MOUSE.DOLLY,
RIGHT: THREE.MOUSE.PAN
}
which i can swap round no problem. But I would really like it so middle rotates (thats fine to do) but use CTRL+middle to pans.
What’s the cleanest way to implement key modifiers with the orbit controls?