Perception
Related terms: vision cone, line of sight, hearing, awareness
How AI characters sense the world. It is kept deliberately limited so the player can outsmart them. Sight is a vision cone, an angle and a distance, plus a raycast to check nothing is in the way. Hearing is a radius around each sound.
The results usually feed an awareness value that rises over time instead of flipping at once. That gives stealth games their "suspicious" state. An enemy that always knows where you are feels like cheating.
- Further reading
- Iain McManus: Unity AI Tutorial, Hearing and Vision Sensors