Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question 4 Trackables generate one Output Gameobject

Discussion in 'AR' started by jreutelsterz, Jun 26, 2022.

Thread Status:
Not open for further replies.
  1. jreutelsterz

    jreutelsterz

    Joined:
    Dec 10, 2021
    Posts:
    30
    Hey Pals,

    for my next project I want to track 4 Image Tracker to set on top of them a Gameobject plane with one Image. So basically I want to scale the Plane based on the distance between the Image Tracker.
    Is this possible?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    3,427
    Yes, just track the anchors and generate 2 triangles (quad) using the anchors if you have 4
     
  3. jreutelsterz

    jreutelsterz

    Joined:
    Dec 10, 2021
    Posts:
    30
    Hi thanks for the hint! But then I have to use Object Tracking since I cant set an anchor to an Image Tracker?
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    3,427
    Why can't you use image tracking?
     
  5. jreutelsterz

    jreutelsterz

    Joined:
    Dec 10, 2021
    Posts:
    30
    I thought an Anchor can just get stick to a gameobject and with my ImageTracking system I am not instantiating gameobjects (Just using ARTrackedImageManager)
     
  6. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    3,427
    Then make a system which will instatiate a gameobject at the position when seeing an image
     
  7. ankur-unity

    ankur-unity

    Unity Technologies

    Joined:
    Aug 12, 2021
    Posts:
    31
Thread Status:
Not open for further replies.