- Home /
Raycast hits a collider and halts.
This is good for some of my colliders that I use, but not one in particular. How do I make rayhits travel through certain colliders? Thanks.
Comment
Best Answer
Answer by ynka · Jan 30, 2013 at 10:07 PM
You can use a layer mask to selectively ignore colliders when casting a ray.
http://docs.unity3d.com/Documentation/Components/Layers.html http://docs.unity3d.com/Documentation/ScriptReference/Physics.Raycast.html