WebXR Image Tracking - How to know whether an image has just lost?

ezgif-3-4b498c1296

How to detect that to execute root.setEnabled(false);?

Our API should be pretty close from https://github.com/immersive-web/marker-tracking/blob/main/explainer.md so if you find the way there (maybe getTrackingImageScores() ? ) you should be able to find it back in Babylon.

I am sorry to be of almost no help lol but @RaananW is in vacation and I am just trying lol

The onTrackedImageUpdatedObservable will give you all of the information the XR system is providing us, including the “emulated” flag, which is probably what you are looking for.

2 Likes