In the last chapter, we were introduced to the types of enemy AI and how each type operates depending on which state it is in.
In this chapter, we will learn in detail how to use and change the enemy behavior by understanding its components and variables. Then, we are going to use this information to play around and twist some values in order to get the enemy behavior closer to what our game requires.
The following topics will be covered in this chapter:
- Basic 2D enemies' components
- Basic 3D enemies' components