cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup colliders for Scene API / room model?

longcon1
Explorer

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

Screen Shot 2024-03-16 at 6.44.58 pm.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

longcon1
Explorer

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

View solution in original post

1 REPLY 1

longcon1
Explorer

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