Godot AR making fake objects collide with real ones

Godot Version

4.6.1

Question

On a meta quest 3 I’m doing mixed reality with the pass through feature. I created some stuff but want to give real objects collision. Is this possible? If so how can I do that in Godot? I’m so lost cause nothing on the internet has any information to this. I’m using the Godot XR tools and Godot to openxr vendors plugins.

With this I mainly mean accessing metas already existing room data via Godot.

You can use transparency to see the real world, but there’s no native method for virtual objects to automatically collide with real objects. To manage this, you need a native or GDNative plugin that retrieves the surfaces detected via the Meta/Oculus SDK.

Mini MilitiaApp Lock

1 Like

Thanks.

If I understand what you want correctly, it’s definitely possible with the Meta Quest 3 scene data, essentially out-of-the-box with those two plugins. I have used the OpenXRFbSceneManager node to generate collision and a specialized mesh to make a VR bouncy ball bounce off of real objects and hide behind them, as if it were a real ball. I used the same version as you, directly on the Meta Quest Godot Editor.

I followed this tutorial to do it:

If you are still interested in this, @HyperJragon, see my previous post