Summary
We have explored how to make our AI character create and follow a plan to execute a determinate objective in this chapter. The idea is to think ahead what is going to happen and to prepare for that situation. To complete this, we have also explored how to make our AI character predict a collision with an object or another character. This will be fundamental not only to make our character move freely on the map, but also it serves as a new equation to have in mind when planning what to do. In our next chapter, we will be talking about awareness, how to develop one of the most iconic features of stealth games, and make our AI characters self-aware of what is happening around them with realistic field of view.