Search Unity

Using images as triggers not trackables

Discussion in 'AR' started by straylight, Nov 12, 2019.

  1. straylight

    straylight

    Joined:
    Jan 7, 2013
    Posts:
    17
    Hi,

    I'm wondering if anybody knows how to use images (QRCodes) as triggers for placing an object? I don't want to use image tracking but rather plane tracking but I don't want the user to be tapping on the screen to place but use an image to trigger the placement at the images location and then use plane tracking from there on?

    Thanks

    John
     
  2. unnanego

    unnanego

    Joined:
    May 8, 2018
    Posts:
    199
    just trigger a function on ARPlaneManager.trackables.added and set a bool that it's triggered to prevent further reaction