I have a game object with 2 children, one of which is a colider
Container
- a GameObject
- a Colider
The parent gameObject contains a script.
I want to make that colider invisible to all raycasts, is there a strait forward way to do this?
Thanks
Mads_AE
2
Easiest way would be to put it in the IgnoreRaycast layer.
Bunny83
3
Sure, put the gameobject and all it’s children on the Ignore Raycast layer.
Read the last sentence here: