I have a group of AI characters grouped inside an empty Game Object. The empty Game Object is just there for organizing the hierarchy - I’ll call it my “grouper”. My problem comes when another AI is trying to use a raycast to confirm line of sight to an enemy. It always hits the grouper Game Object instead of the AI itself, and hence returns an object I don’t care about.
I set the grouper Game Object to the “Ignore Raycast” layer (but left the AI characters in default) thinking that would fix my problem, but it did not.
Is there a way around this that I am missing?