Augmented Reality (WebXR) tracking problem

Hello everyone,

I am currently trying to create an augmented reality app like the “ar-hit-test” example, and it work more or less but the place object have some strange movement. (Like shaking.)

I know that the WebXR API is still new and maybe not production ready, but is there a way to have a more accurate tracking precision like with ARCore ?

I’ve verified the official hit-test example on my Pixel (1) with Chrome 83 (dev) and I’m not sure I can confirm the mentioned shaking. Any chances to share a video that demonstrate the issue?

It actually should in context of VR. Only the AR parts are still somewhat experimental.

Defining an appropriate reference space type might have positive effects on the tracking. With the latest API on dev or with the next release 116, you can do this via:

renderer.xr.enabled = true;
renderer.xr.setReferenceSpaceType( 'local' );

Alternatively, feel free to file a bug at the browser vendor’s bug tracker if you think the tracking precision is not good enough.

My phone is a Samsung S8 with Chrome 81.0.4044.111.

To be more precise, when I tap on the screen to place my object, it disappear to reappear after and sometimes the object move when I move the phone.

I really can’t reproduce the disappear/reappear effect. Does it make any difference when using Chrome Dev?

I tried with Chrome Canary 84.0.4120.2 and it seems to work fine. :grin:

1 Like