Chapter 6. Sensors and Activities
In the previous chapters on pathfinding and behavior trees, we had AI characters moving through our AI environments and changing states, but they didn't really react to anything. They knew about the navigation mesh and different points in the scene, but there was no way for them to sense different objects in the game and react to them. This chapter changes that; we will look at how to tag objects in the game so that our characters can sense and react to them.
In this chapter, you will learn about:
- Sensors and tagging game objects so that they can be sensed
- AI characters that use sensors in RAIN
- Advanced configuration of sensors in RAIN
- Having AI characters react to different objects and perform different activities once they are sensed