Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

ImageTracking position of tracked image?

Discussion in 'AR' started by Polygans, Nov 5, 2019.

  1. Polygans

    Polygans

    Joined:
    Apr 19, 2009
    Posts:
    79
    I seem to have a hard time finding the actual line in code where the position of a tracked image is set in AR Foundation.

    Any advice would be greatly appreciated.
     
  2. jiungerich

    jiungerich

    Joined:
    Jul 26, 2019
    Posts:
    18
    I have likewise had the same issue. It is related somehow to the first object in the tree. I had a cube offset in space in my first app and then placed a second cube at the origin thinking that the second cube would spawn right on the image. Instead the second cube spawned in a wonky location. I removed the first cube and then the cube at the origin spawned on top of the image.

    It would be great if they updated image tracking to have a reference image plane like other AR Dev kits like Vuforia or Wikitude. It makes it very difficult to spawn multiple objects and know where they are going to land in relation to your image.
     
  3. jiungerich

    jiungerich

    Joined:
    Jul 26, 2019
    Posts:
    18