Advanced AI sight? AI can detect you if part of you is visible to them. Is it Possible?

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?

Well, you could tag all of the objects you’d want the AI to find then have the raycast detect if it has hit the tagged object. However, this is quite advanced. You’d probably have to make multiple raycasts, or you could write a complex script to move the ray “around” the transform, hoping that it would hit a part of the object it is looking for.