-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Only horizontal pan with one finger #40
Comments
This isn't usually possible in web orbit controls that support touch, because the main action in this type of control is to rotate (the camera around the orbited object). |
My idea is to be able to move horizontally in this (pan with one finger):
I try a lot of things but not working. |
Now that I think about it, vertical movement should not be prohibited, but limited. |
@DavidVRG I believe the behavior you want to achieve isn't possible with orbit controls. What you want is map controls. Look at the following web examples: Unfortunately, I don't know any library that implements map controls for native (and any controls which isn't orbit controls). However, I can, in the future, adapt more types of controls to mobile. |
Can I only move horizontally with one finger?
The text was updated successfully, but these errors were encountered: