So I’m just learning AI. I read that you can use a cone as a trigger to detect if the player enters it, then draws a ray to detect if there is nothing obstructing it, like a wall or a door. But the problem is it only draws the ray from the source object’s transform to the players transform.
Instead of just raycasting to the transform, Is it possible that an AI can detect you through raycast by just seeing a part of you, like just the soulder or your hair by raycasting it from the AI to that part only?