Using WebXRImageTracking and WebXRAnchorSystem together

Hello!

I am trying to implement WebXR image tracking similar to this PG: https://playground.babylonjs.com/#4LDB6D#606

It works well when the scene content is located around the origin, however, when pivots are involved (scene content is distant from the origin), I observe the scene wobbling.

Anchors work well against the wobbling issue, however, if the tracked image is moved around (consider a book’s cover is the target image and you are moving the book around), the anchor position is not updated by nature. I am thinking of creating anchors everytime the tracked image is updated, but it feels computationally expensive and not sure if that would really solve the wobble issue.

I would appreciate any ideas on how to enhance image tracking with anchors.

Thank you!

cc @RaananW