O'Reilly logo

AI Game Programming Wisdom 4 by Steve Rabin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.7Generic Perception System

Frank Puig Placeres

fpuig@fpuig.cjb.net

Perception is one of the most important topics in game AI. Every game has to address perception in some way. This can be as simple as the NPC knowing the complete map, hearing all sounds, and always seeing the player. On the other hand, more sophisticated perception can also mimic the real-world limitations of the character types being modeled (e.g., humans or animals).

However, perception is much more than just seeing and hearing. It encompasses all of the ways that an NPC gathers data about the world, including environmental and tactical information such as hiding spots, ambush locations, and the positions of walls and obstacles.

This article presents a perception system that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required