AI line of sight
Human beings employ five distinct senses to interact with the environment. One of these, vision, is its own branch of Computer Science entitled Computer Vision.
In this example, we implement basic vision testing in a Box2D environment using a Ray Cast to see if there is another object in-between the player and an enemy AI actor.