This chapter is a continuation of the previous one. In particular, we will build the last missing piece of the puzzle before we build the final Behavior Tree in the next chapter.
In particular, we will be covering the following topics:
- Creating the Player Character, along with the Chasing Agent
- Setting up the Navigation System within the Level
- Implementing a Custom Service (both in Blueprint and C++) to update the variables that are needed in the Chasing Behavior
Once again, we will be implementing everything in both Blueprint and C++ to give you a broader idea of what you can use. Alternatively, if you already know what you want to use, you can just follow one of the two implementations.
Making the Custom Service is the part that will take the most time since we will be going through it step by step.
Let's get to it!