- Home /
raycast ignore layer by default not using layermask.
Similar answers to this question have been given but they all involve using a layermask with your raycast.
Is there a way to make a custom layer ignore raycast by default the same way as the ignore raycast layer works?
Thanks Ken.
Answer by kensct · Jan 17, 2013 at 02:05 PM
Kind of answered my own question straight after I posted it lol.
although not the perfect answer works in my case.
You can set raycasts to ignore triggers in project settings.
However i will still like to know if there is a way to do this if the mesh isnt a trigger if someone knows.
Your answer
Follow this Question
Related Questions
layers not ignored by raycast 1 Answer
How to create User layer that acts like the "Ignore Raycast" layer? 1 Answer
Raycast not ignoring layer 0 Answers
Raycast and Layer Masks 1 Answer
Detecting that I'm clicking a unit even though I'm not? 0 Answers