# Tutorial: How to fix ray-casts

**URL:** <https://ask.vrchat.com/t/tutorial-how-to-fix-ray-casts/7033>\
**Category:** Tools\
**Tags:** tutorial, world\
**Created:** [September 8, 2021, 12:46am UTC](https://ask.vrchat.com/t/tutorial-how-to-fix-ray-casts/7033 "2021-09-08T00:46:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![splitscream](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/splitscream/32/19033_2.png) [@splitscream](https://ask.vrchat.com/u/splitscream)\
**Post date:** [September 8, 2021, 12:46am UTC](https://ask.vrchat.com/t/tutorial-how-to-fix-ray-casts/7033/1 "2021-09-08T00:46:12Z")

</div>

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_

 ![image](https://global.discourse-cdn.com/vrchat/original/2X/4/46bf96bdd37729310bc435f3ae9bc9b6efa40ffd.jpeg)  
_Assign the collider layer to “Mirror Reflections”_  
 ![image](https://global.discourse-cdn.com/vrchat/original/2X/8/85f72275fb790982dab10d58412d1216849548ed.jpeg)  
 ![image](https://global.discourse-cdn.com/vrchat/original/2X/e/e67b8abf10065cb722c3ade220e62254bed965a6.jpeg)

---

<div class="post-metadata">

**Author:** ![Lingie](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/lingie/32/27033_2.png) [@Lingie](https://ask.vrchat.com/u/Lingie)\
**Post date:** [November 20, 2024, 5:15am UTC](https://ask.vrchat.com/t/tutorial-how-to-fix-ray-casts/7033/2 "2024-11-20T05:15:29Z")

</div>

Just replying to this, because it still very much works in 2024.

This is a godsend.
