title: Possible to make raycast detect only sides of an object?
body: <p>I am trying to create a sort of "Sound ray-caster" in Unity2d, but I found an issue where once a ray was inside an object, I had no way for it to detect where the end of the object is. The raycast would end immediately if it began inside an object, which is not what I want to happen. Is there a way I can have a raycast only detect the start/end of an object? Any other solutions to my problem is welcome!</p>