>> Allows querying for the linear acceleration and linear velocity on an
XRPose if the underlying runtime supports providing this information.

> Alex, did you mean to say angular and linear velocity?

Ah, yes. So I did. And thanks for the reply with the usefulness Rik!

> Now would be a good time to request a position from WebKit (so they have
plenty of time to respond): https://github.com/WebKit/standards-positions

My intention here FWIW is to ask WebKit about the full WebXR spec, since
some of the work we're working towards is matching the CR recommendation
even if we are availing ourselves of the (specced) options to not return
data at the moment.

On Mon, Mar 27, 2023 at 6:55 AM Mike Taylor <miketa...@chromium.org> wrote:

> On 3/25/23 1:13 PM, Rik Cabanier wrote:
>
> >> Specification
> >>
> >> https://immersive-web.github.io/webxr/#dom-xrpose-linearvelocity
> >>
> >> Summary
> >>
> >> Allows querying for the linear acceleration and linear velocity on an
> XRPose if the underlying runtime supports providing this information.
> > Alex, did you mean to say angular and linear velocity?
> >
> >> As someone who doesn't work in the XR space, can you explain how this
> is useful for developers, i.e., what kind of use cases does this unlock?
> > Very often in AR/VR experiences, you would like to know the linear and
> > angular velocity of an object so you know how it interacts with the
> > virtual world
> > For instance, if you hit a tennis ball with your hand/controller, its
> > following speed and trajectory will depend on the speed of your
> > controller. For a curve ball, you can use the angular velocity to
> > calculate its spin.
> >
> > An XR experience can make a rough estimation of this by keeping track
> > of the position of the controller over time but it's not very precise
> > especially for angular velocity. Controllers have built-in
> > accelerometers that will give you precise tracking. The runtime will
> > also "timewarp" the velocities so they apply to the point in time that
> > the current frame is shown.
> >
> > You can find a more detailed explanation in the issue:
> > https://github.com/immersive-web/webxr/issues/619
>
> Thank you - super useful.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGOLbz3PVfvMg2R_FWLECCGwo%2Bwzw91sBpYdHLTQevZQWLvbpQ%40mail.gmail.com.

Reply via email to