AR Foundation - How to detect collision between AR Game Object and real environment objects?

Hi there! I’m relatively new to AR Foundation, so please let me know if this question requires any additional information/context.

I’m trying to build an AR Foundation/AR Core app where an object (a 3D GameObject) has to navigate between some obstacles. I’m using AR Foundation and have already achieved this: if the 3D GameObject which we consider the main character collides with any of the other 3D objects, a collision is detected.

My question is, I want to extend this so that if my main character collides with the real world environments objects (walls, chairs, tables… already present in the room), the collision should be detected.

I was just hoping to gain an understanding about which direction to go looking for something like this. I did some research and came up with the “Spatial Mapping Collider” however that seems to be for HoloLens and not AR Foundation stuff. Again, not really expecting a solution, but a nod in the right direction from people more advanced from me would be greatly appreciated :slight_smile:

ARCore does not support the meshing subsystem at this time, which would be the easiest way to implement this.

Hello @halas57 ! I am trying to implement a ball and goal detection model using AR. How would I be able to detect the ball? I tried the ARfoundation detection model but failed to detect it. Can you help me with that?