Tutorial: How to fix ray-casts

UPDATE: This works with Audio Occlusion too
If you want to have a collider that doesn’t block player ray-casts, like interact or pickups
Assign the Collider’s Layer to “Mirror Reflection”, this layer is not affected by player physics and

You can Pickup the object through this collider without worry of breaking the pickups

Example:
Object is designed to respawn when not inside a collider
Object in collider made to prevent object respawn
Users have to be physically inside the collider to prevent spawns


Assign the collider layer to “Mirror Reflections”

1 Like