Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panning option without ctrl key #249

Open
scottlittle opened this issue Jan 21, 2019 · 1 comment
Open

Panning option without ctrl key #249

scottlittle opened this issue Jan 21, 2019 · 1 comment

Comments

@scottlittle
Copy link

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?

@vidartf
Copy link
Member

vidartf commented Jan 22, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants