pythreejs
pythreejs copied to clipboard
Panning option without `ctrl` key
Designing a pseudo-2D app where enableRotate
= False
in OrbitControls
. This works, and I can get the desired drag and pan movement while holding the ctrl
key down. But for convenience, is there a way that I could make drag and pan the primary mouse movement?
Not currently. There is code on the JS side to allow this configuration, but currently, the wiring code to allow to configure this has not been set up . We would need to define an enum type to specify mouse buttons, and maybe later also a way to specify keyboard keys.