Search Unity

Let object disappear behind real wall

Discussion in 'AR' started by biancalooijen, Apr 6, 2019.

  1. biancalooijen

    biancalooijen

    Joined:
    Nov 13, 2018
    Posts:
    2
    Hi,

    So I'm making a 3D popup book using AR. And I have a box that you can look into in real life (front face is kept out). And in the box I have a virtual object. However, when I look around the physical box the object within the box is still showing. Is there a way that I can make sure I only see the object when I look through the front of the box? So when I look around the box the virtual object will disappear behind the real physical box faces?

    Thanks in advance!