How to show distance in AR.js and create child elements in aframe js

Viewed 11

I would like to do the same example as in this clip https://www.youtube.com/watch?v=biCKHVefIe8

I would like to set the distanceMsg attribute in the a-text value, so that it is always visible, and a-text as a child element of a-image, so that the distance is always below. Aframe has special rules for child elements so I'm wondering how I could do this in JS? They give me null in a-text value

0 Answers
Related