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
106 stars 17 forks source link

Expose hands and controllers at the same time #120

Open cabanier opened 1 year ago

cabanier commented 1 year 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 1 year 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 1 year ago

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

Manishearth commented 1 year ago

Ah, hmm. Interesting.

cabanier commented 1 year 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 1 year 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.