immersive-web / webxr

Repository for the WebXR Device API Specification.
https://immersive-web.github.io/webxr/
Other
3k stars 386 forks source link

First pass at defining tracked sources #1361

Closed cabanier closed 1 month ago

cabanier commented 8 months ago

Preview | Diff

Maksims commented 8 months ago

A few quick questions based on spec:

  1. Input source can "move" from trackedSources to inputSources lists and back? Is it the same XRInputSource instance, or a new object?
  2. If it is a new object, but they represent the same real thing, let's say the user takes a controller in hand, and now the input source moves from tracked to primary list, is there information for the developer to associate a previous instance with a new one?
cabanier commented 8 months ago

A few quick questions based on spec:

  1. Input source can "move" from trackedSources to inputSources lists and back? Is it the same XRInputSource instance, or a new object

It is the same object.

AdaRoseCannon commented 8 months ago

/facetoface

cabanier commented 4 months ago

@toji I thought we resolved all the issues with tracked sources. Can we merge this?

toji commented 1 month ago

Apologies on the fact that this hasn't been merged yet, and thank you for the ping. There is one outstanding issue (using XRInputSourcesChangeEvent instead of XRTrackedSourcesChangeEvent) and then I'm comfortable merging it.