Skip to main content
New Participant
March 16, 2024
Solved

How to setup colliders for Scene API / room model?

Hi there,

I'm trying to enhance my passthrough app to be room aware, but having issues setting up the colliders. So far I've used Building Blocks with Meta API v60 and Unity 2023.2 and everything else is working fine - room scanning, seeing the walls with materials applied etc.

The issue is the walls don't provide collisions for particles or rigidbodies, no matter whether i add Box Colliders or Mesh Colliders (convex/otherwise) - is there a recommended setup or any way to debug? This tutorial is great but the collider steps don't work for me https://www.youtube.com/watch?v=b_1Xby35fSo

Here's the heirarchy, so far I've been focused on adding colliders to 'PlaneMesh' and 'Volume>Parent>Mesh' but any ideas welcome

 

 

 

This topic has been closed for replies.
longcon1Answer
New Participant
March 16, 2024

SOLVED (for rigidbody collisions): i just replaced the Building Block with OVRSceneManager prefab, and used InvisiblePlane and InvisibleVolume prefabs from https://github.com/oculus-samples/Unity-StarterSamples/tree/main

 

Still haven't figured out how to get particles to collide with the walls but thats a Unity question, not a VR one

1 reply

longcon1AuthorAnswer
New Participant
March 16, 2024

SOLVED (for rigidbody collisions): i just replaced the Building Block with OVRSceneManager prefab, and used InvisiblePlane and InvisibleVolume prefabs from https://github.com/oculus-samples/Unity-StarterSamples/tree/main

 

Still haven't figured out how to get particles to collide with the walls but thats a Unity question, not a VR one