From the course: Cert Prep: Unity Certified Associate Game Developer Scripting with C#

Unlock the full course today

Join today to access over 25,200 courses taught by industry experts.

Designing a state machine

Designing a state machine

- [Instructor] In this chapter and the next chapter we'll be working together step-by-step to build a complete Unity project that could be the beginnings of a stealth video game. A game where a player has to creep around an environment without being seen by intelligent enemy characters. We're going to be looking at Artificial Intelligence to create intelligent non-player characters that can walk around a level, search for the player and when they've found the player, chase after the player without walking through walls or bumping into solid objects. To begin this project, I've opened up the sample AI Chase files here that I've included inside the course exercise files. It contains a basic environment that is already put together as a starting point. Here at the bottom left-hand side you can see the player character, the first person all-in-one player controller. This is positioned down here at the bottom.…

Contents