immersive-web / webxr-hand-input

A feature repo for working on hand input support in WebXR. Feature lead: Manish Goregaokar
https://immersive-web.github.io/webxr-hand-input/
Other
104 stars 17 forks source link

Expose hands and controllers at the same time #120

Open cabanier opened 10 months ago

cabanier commented 10 months ago

The Quest platform is able to provide information on hands and controllers at the same time. Should we expose this to WebXR? If so, should we create a new feature string?

/tpac expose hands and controllers at the same time

Manishearth commented 10 months ago

This would mean that the XRInputSource just has both a gamepad and hand object on it, yes? We can add language to that effect.

I don't think this needs a new feature, it's a part of hand input.

cabanier commented 10 months ago

the positions of the hand and the controller would be different. It's not just that you get the controller inputs.

Manishearth commented 10 months ago

Ah, hmm. Interesting.

cabanier commented 10 months ago

yes, this is why it only works with Quest Pro controllers. They are self tracked so they don't need IR emitters and HMD camera tracking.

De-Panther commented 9 months ago

Apparently the ML2 browser already exposes hands and the controller at the same time. As the XRSession.inputSources is a list of active input sources, it can contain more than 2 sources.