Hearing works in a similar way to vision, but doesn't take into account the nodes' direct visibility because of the properties of the sound. However, we still need a sound receiver in order to make it work. Instead of making an agent a direct sound receiver, in this recipe, the sound travels along the sound graph and is perceived by the graph nodes.
The hearing function using a graph-based system
Getting ready
It is important to have grasped the chapter regarding path finding in order to understand the inner workings of the graph-based recipes.