Search Unity

How to turn off Blue Plane Prefab and Plane detection ?

Discussion in 'AR' started by zyonneo, Jul 24, 2018.

  1. zyonneo

    zyonneo

    Joined:
    Apr 13, 2018
    Posts:
    386
    HI, I am testing a vertical plane detection project.So after I detect a vertical plane there are multiple tracking (blue plane prefabs) still going on.How to turn off all blue plane prefabs and turn off plane detection.


     
    Last edited: Jul 25, 2018
  2. AscendReality

    AscendReality

    Joined:
    Jul 20, 2015
    Posts:
    5
    The second half of this tutorial teaches you how to add a button that turns off the plane detection. You could even make an "invisible" button on the top of your screen to hide this functionality.

    You would probably benefit from learning unity better so that simple questions like this don't stump you.



    Best of luck!
     
    zyonneo likes this.
  3. zyonneo

    zyonneo

    Joined:
    Apr 13, 2018
    Posts:
    386
    Thanks...Actually i hid the blue plane by using Gameobject.find and calling the blue plane prefab name.....Hide using button is a good way thanks...
     
  4. rob_ice

    rob_ice

    Joined:
    Nov 11, 2016
    Posts:
    112
    Thats not really a fix, you need to edit the Session configuration and re-run the session
     
  5. zyonneo

    zyonneo

    Joined:
    Apr 13, 2018
    Posts:
    386
    I need to find the plane and stop it but the plane should be there since I need to place objects on the plane.So why rerun the session?Confused..