Search Unity

AR Foundation with multiple objects on different targets

Discussion in 'AR/VR (XR) Discussion' started by yanosch, Mar 18, 2020.

  1. yanosch

    yanosch

    Joined:
    Feb 11, 2014
    Posts:
    13
    Hi,
    I am currently planning to develop an app that will have the functionality to scan multiple markers and all load different objects on them. Is it possible to do this with AR Foundation? Or does AR Foundation only support one target in a single scene?
     
  2. mitchell320

    mitchell320

    Joined:
    Nov 12, 2019
    Posts:
    2
    I am wondering the same actually, this doesn't seem to be a possibility.
     
  3. ibrahimpenekli

    ibrahimpenekli

    Joined:
    Mar 10, 2015
    Posts:
    31
    Hi, yeah it supports multiple tracked images based on underlaying subsystem. As far as I know, ARCore and ARKit subsytems support multiple tracked images.

    You can spawn different objects regarding to ARTrackedImage.referenceImage.name:
    https://docs.unity3d.com/Packages/c...ityEngine.XR.ARFoundation.ARTrackedImage.html

    and look this:
    https://github.com/Unity-Technologi...enes/ImageTracking/TrackedImageInfoManager.cs
     
  4. SuperPista

    SuperPista

    Joined:
    Jan 28, 2022
    Posts:
    6

    esta página não existe mais
     
  5. OneReality

    OneReality

    Joined:
    Jan 17, 2022
    Posts:
    3