Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to Make AR Foundation "Planes" detected into planes that collide/interact with objects?

Discussion in 'AR' started by Corfu, May 23, 2020.

  1. Corfu

    Corfu

    Joined:
    Feb 26, 2018
    Posts:
    16
    Apologies for this noob question -
    How does one make AR Foundation Planes detected into surfaces that interact with objects (for ARKit)?

    Thank you in advance for any guidance.
     
  2. DreamPower

    DreamPower

    Joined:
    Apr 2, 2017
    Posts:
    103
    One of the steps for setting up plane detection is to create a prefab for the plane objects - that prefab will be spawned everywhere a plane is detected in the world. So however you want to interact with planes, setup that prefab to do it. For example, if it the prefab has a Mesh Collider on it, all plane objects will have that collider.
     
    Corfu likes this.
  3. Corfu

    Corfu

    Joined:
    Feb 26, 2018
    Posts:
    16
    Thank you so much!