This question was
closed Mar 23, 2017 at 10:20 PM by
ZachRoman121 for the following reason:
Other
Question by
ZachRoman121 · Mar 23, 2017 at 10:05 PM ·
raycastraycastinglayerslayerraycasts
Ignore Raycast not working properly?
Hello! I am trying to set the layer of a gameobject via code. It works fine. But. When i do it. Ignore Raycast loses it's functionality. And. Therefore it becomes useless. But. If i set it using the Unity Editor. It works fine. What should i do?
Comment
Follow this Question
Related Questions
My layers seem to be completely broken 0 Answers
Raycasting is running in two different objects with the same Tag when I touch just one of them 1 Answer
Cursor not staying centered to gameobject 0 Answers
Raycast Not Detecting Hit 0 Answers
How to actually make raycast hit colliders it s starting from? 1 Answer