How can to track a marker while also utilising webXR/webAR technology?

Hello :wave:

I’d like to use a tracking marker (perhaps via ar.js or artoolkit/artoolkit5) to accurately place a 3d object in a specific real world location.

I would then like to use webXR/webAR technology so that the the 3d object will remain in place even if the camera moves away from the marker or the marker is obstructed/hidden from view.

I’ve been playing with the demos below but I am struggling to work out how to marry the two aspects as I’m new to the libraries.

It looks like to me that the most important part to get right is the camera position between the webXR and marker tracking libraries as well as the camera’s controller but I’m not sure how to do this.

If anyone can help that would be awesome!
Thanks :slight_smile:


I have the same question - did you find an answer to that workflow?