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

WebXR direct hand input #6191

Open
Maksims opened this issue Mar 20, 2024 · 2 comments
Open

WebXR direct hand input #6191

Maksims opened this issue Mar 20, 2024 · 2 comments
Labels

Comments

@Maksims
Copy link
Contributor

Maksims commented Mar 20, 2024

Currently, the engine supports WebXR input interactions with UI using a ray provided by input sources. With hands - it is possible to implement direct touch using the tip of a finger (or multiple fingers).

There are some UX considerations, as even different platforms implement direct touch slightly differently.

@IRobot1
Copy link
Contributor

IRobot1 commented Mar 21, 2024

The usual approach is to attach a collision object to the tip of the fingers. See xr-hand for fingers and tips

@Maksims
Copy link
Contributor Author

Maksims commented Mar 22, 2024

The usual approach is to attach a collision object to the tip of the fingers. See xr-hand for fingers and tips

Using collision would not be a generic solution, as it would require a physics included. Also UI does not have physics information.
It should be analytical, using rays like input source ray does, with slight modifications.

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

No branches or pull requests

3 participants