Creating awareness in a stealth game

Now that we know how to implement sensory-level algorithms, it's time to see how they can be taken into account in order to develop higher-level techniques for creating agent awareness.

This recipe is based on the work of Brook Miles and the team at Klei Entertainment for the game Mark of the Ninja. The mechanism revolves around the notion of having interest sources that can be seen or heard by the agents and a sensory manager to handle those.

Get Unity 2018 Artificial Intelligence Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.