engine icon indicating copy to clipboard operation
engine copied to clipboard

WebXR direct hand input

Open Maksims opened this issue 1 year ago • 2 comments

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.

Maksims avatar Mar 20 '24 14:03 Maksims

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

IRobot1 avatar Mar 21 '24 20:03 IRobot1

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.

Maksims avatar Mar 22 '24 10:03 Maksims