Search Unity

How do I make plane tracking invisible?

Discussion in 'AR' started by tomicz, Jul 8, 2018.

  1. tomicz

    tomicz

    Joined:
    Mar 16, 2015
    Posts:
    152
    Hello there,

    I want to make blue square invisible? How do I achieve that? I want it to work as it does, just to be invisible to an eye. I've seen apps that do this, but I haven't found a way to do it myself.
     
  2. zyonneo

    zyonneo

    Joined:
    Apr 13, 2018
    Posts:
    386
    I have been looking for this issue for few months.Any luck? I think it instantiates these blue planes when a surface is detected.One way is to find the Gameobject(Planeprefab) by its name and SetActive it to false.That will do the trick.
     
  3. tomicz

    tomicz

    Joined:
    Mar 16, 2015
    Posts:
    152
    Just remove renderer from debug prefab and you are fine. It will still track ground, but it wont be visible to the player.