Open Maksims opened 3 months ago
The usual approach is to attach a collision object to the tip of the fingers. See xr-hand for fingers and tips
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.
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.