Search Unity

Question How do I let 3D object interact with 3D object linked to Image Tracking?

Discussion in 'Physics' started by realmcrafter, Dec 5, 2020.

  1. realmcrafter

    realmcrafter

    Joined:
    Nov 12, 2020
    Posts:
    7
    I'm making a game where the player can swipe a ball into a cup that is linked to an image through the Image Tracking feature in ARfoundation.

    For some reason the cup doesn't interact with the ball. Even when using rigidbody on the cup. But when I identify the cup as an simple gameobject it does interact (which makes sense). When I load the ball on the screen it goes through/behind the cup which should not be the case. It should be in front of the cup so I can throw it to the the cup.

    See screenshot below:


    So my question is what is the problem and how can I fix this?
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,820
    Hey @realmcrafter - this is more a question about physics. I'll move this thread over to that forum.