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

Babylon.js only recognizes vertical pinch, not horizontal pinch #26159

Open
jdm opened this issue Apr 9, 2020 · 2 comments
Open

Babylon.js only recognizes vertical pinch, not horizontal pinch #26159

jdm opened this issue Apr 9, 2020 · 2 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Apr 9, 2020

When using the three.js paint demo, my right hand can use a horizontal pinch gesture to start painting (but the left hand does not appear to recognize a horizontal gesture, only the vertical one). However in Babylon.js, only the vertical pinch is recognized by both hands.

@jdm jdm added the A-xr-zomg label Apr 9, 2020
@jdm jdm added this to To do in babylon.js perf issues via automation Apr 9, 2020
@jdm
Copy link
Member Author

@jdm jdm commented Apr 9, 2020

This seems less cut and dry than I though. Babylon's left hand doesn't appear to recognize the horizontal pinch either, and I can definitely make a horizontal pinch successfully on occasion with the right hand.

@Manishearth
Copy link
Member

@Manishearth Manishearth commented Apr 10, 2020

This is very weird, because all we get from the system is "did a pinch happen", we do no further analysis.

Note: the hololens' ability to detect pinches can depend on the backdrop, perhaps your typical working space has a varied background that favors gesture detection on the right hand.

I think the OpenXR demo app (inside the openxr runtime app) displays pinches when they occur, do you want to try with that and see what happens?

Babylon's new select event detection may also be wonky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.