6 Replies Latest reply on Jan 19, 2018 10:34 AM by azaharia RSS
    azaharia Newbie

    AR Tracker Coordinates



    I have set up an AR tracker project for one of the Thingmarks and I've been trying to extract the coordinates of the tracker.


    To this purpose I have set up 3 application parameters (xCoord, yCoord, zCoord) and bound them to the X, Y, Z coordinates of the model that shows up when the Thingmark is found. From my understanding the placement of the Thingmark is at the (0,0,0) position. However, without initialising the application parameters to something in the 'Home.js' file, the values show up as Not a Number ('NaN'). Additionally, the values do not update live during tracking.


    I understand that this happens because within the editor the model has a fixed position, it is only in the AR environment when I move the Thingmark that it changes. And since the model is following the Thingmark if also resets to (0,0,0. Does anyone have any idea if what I am trying to do is possible?


    Thanks in advance!

      • Re: AR Tracker Coordinates
        rabernathy Explorer



        You can place the ThingMark anywhere in the Studio environment that you want to.  It doesn't have to be at (0,0,0).  If you use the translate tool at the top of the canvas, you can move the ThingMark anywhere and if you use the mate tool at the top of the canvas, you can mate the ThingMark anywhere on the geometry.


        The ThingMark needs to be placed in the Studio environment in the same place that you put it in the real world.  Meaning if you place it on the physical part, you need to place the ThingMark in Studio at the corresponding location on the CAD model.


        Are you moving the ThingMark in the real world after you start the AR experience?