- Home /
Raycast not detecting ANY HITS AT ALL when starting inside a collider.
Let me preface this by saying I KNOW raycasts cannot hit the same object they start in. This isn't my problem. My raycast wont hit ANY object if it starts inside a collider even if it would hit a different object. I've tried debugging the ray and it shows it being hit. Hits are detected as expected outside of objects. I'm not casting for any layers. Extremely frustrating.
Comment
We need more information. What code you are using, how you have the scene set up, etc. It's hard to tell what is wrong, not to mention you say "raycast not detecting any hits at all" followed up by "I've tried debugging the ray and it shows it being hit". What is it exactly that you are trying to do, and what about it isn't working?