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

Question Exclude object from Occlusion

Discussion in 'AR' started by afurioso, Oct 19, 2022.

  1. afurioso

    afurioso

    Joined:
    Jan 12, 2022
    Posts:
    88
    Hi guys,

    I'm using occlusion with AR foundation, I like how it works but I have a problem. The occlusion, sometimes, hides also the placement prefab that I use to tell the user where he should put the object.

    I'm wondering if there is any particular piece of code or something else to avoid the occlusion of a certain object. Solutions?
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,025