Save for later

The Beginner's Guide to Artificial Intelligence in Unity.

Do your non-player characters lack drive and ambition?  Are they slow, stupid and constantly banging their heads against the wall? Then this course is for you.  Join Penny as she explains, demonstrates and assists you in creating your very own NPCs in Unity with C#. All you need is a sound knowledge of Unity, C# and the ability to add two numbers together.

In this course, Penny reveals the most popular AI techniques used for creating believable character behaviour in games using her internationally acclaimed teaching style and knowledge from over 25 years working with games, graphics and having written two award winning books on games AI. Throughout, you will follow along with hands-on workshops designed to teach you about the fundamental AI techniques used in today's games.  You'll join in as NPCs are programmed to chase, patrol, shoot, race, crowd and much more.

Learn how to program and work with:

  • vectors

  • waypoints

  • navmeshes

  • the A* algorithm

  • crowds

  • flocks

  • animated characters

  • vehicles

Contents and Overview

The course begins with a detailed examination of vector mathematics that sits at the very heart of programming the movement of NPCs. Following this, systems of waypoints will be used to move characters around in an environment before examining the Unity waypoint system for car racing with AI controlled cars.  This leads into an investigation of graph theory and the A* algorithm before we apply these principles to developing navmeshes and developing NPCs who can find their way around a game environment.  Before an aquarium is programmed complete with autonomous schooling fish, crowds of people will be examined from the recreation of sidewalk traffic, to groups of people fleeing from danger. Having examined the differing ways to move NPCs around in a game environment, their thinking abilities will be discussed with full explanations and more hands-on workshops using finite state machines and behaviour trees.

The follow-along workshops included in the course come with starter Unity asset files and projects complete with solutions.  Throughout, there are also quizzes and challenge exercises to reinforce your learning and guide you to express your newfound knowledge.

At the completion of this course you will have gained a broad understanding of what AI is in games, how it works and how you can use it in your own projects.  It will equip you with a toolset to examine any of the techniques presented in more depth to take your game environments to the next level.

What students are saying about this course:

  • This has been my favourite Udemy-Unity course so far. It took me from literally 0% knowledge of how game AI is achieved, and took me to a whole new level. Waypoints, pathfinding, state machines, etc etc etc are all covered in-depth and will reveal the magic (spoiler alert: it isn't magic) behind making your computer characters seem like they really have a mind of their own.

  • Oh My God. I love her way of teaching things. I haven’t finished this course yet. But all i can say is that it is another brilliant course from her. Artificial intelligence by itself is a tricky thing to do. And before starting this course i never thought that i will understand anything in it. But i was wrong. With her style of teaching, you will learn how to move your characters in an ”intelligent“ way. This course is perfectly sliced and the pace is wonderful.

Get Details and Enroll Now

OpenCourser is an affiliate partner of Udemy.

Get a Reminder

Not ready to enroll yet? We'll send you an email reminder for this course

Send to:


Rating 4.7 based on 279 ratings
Length 11 total hours
Starts On Demand (Start anytime)
Cost $9
From Udemy
Instructors Penny de Byl, Penny
Download Videos Only via the Udemy mobile app
Language English
Subjects Data Science Programming
Tags Data Science Game Development Development

Get a Reminder

Get an email reminder about this course

Send to:

Similar Courses

What people are saying

According to other learners, here's what you need to know

so far in 22 reviews

So far the course has been fairly simple to understand so i would say this is definitely a good "Beginner's Guide" Even though the course introduced navmesh agents relatively early the later topics revert back to applying the simple method of just pushing things around.

So far the course and the instructor is amazing.

All made possible by this amazing course It's good so far but it's only been covering the basics.

Very happy with the course so far.

So far, I am well pleased with the course.

This has been my favourite Udemy-Unity course so far.

So far so good :) The instructor was great in explaining things.

Read more

easy to follow in 16 reviews

The examples were easy to follow.

The lessons are very well prepared and easy to follow.

Overall impression: - The examples are easy to follow - The projects are kept small, which keeps the focus on the main topic (lots of tutorials out there that spend way too much time on setting up a complex project where the major part of the project doesn't have anything to do with the topic of the tutorial).

The structure of the course flows well, the instructions are clear and easy to follow, and the content is very interesting.

teacher :p Very good instructions and easy to follow Very useful for beginners and experienced developers.

Yes, it's easy to follow and well explained I'm very excited at the preview!

All lessons were quick and easy to follow, although I would have liked if there were less plugins involved.

Read more

penny de byl in 10 reviews

I am actually amazed at how I've personally progressed in many different aspects of Unity development thanks to Dr. Penny de Byl.

A most excellent course in true Penny de byl fashion!

Penny de Byl has some of the best courses on Udemy.

Every course by Penny de Byl including The beginner's guide to AI in unity is a 5+ course!

I've just completed this course and have to say that I'm truly amazed at how well Penny de Byl has explained everything I would want to know to setup a solid UI for just about anything I plan to develop.

And I have only Penny de Byl to thank.

I've enrolled in all Penny de Byl's courses and look forward the ones that are coming in the future.

Read more

recommend this course in 10 reviews

Excellent teacher, if you are building your first game in Unity, I highly recommend this course.

I can't recommend this course highly enough.

All in all; I can recommend this course to get a very decent start in AI for Unity.

Great course from Penny I recommend this course and other courses from Penny, nuff said Awesome course and instructor!

i can wholeheartedly recommend this course to any new Unity user.

The pace may seem rather slow, if you are an experienced coder, but that's why Udemy has the speed-up buttons :) I fully recommend this course, and will definately return to it for reference every now and then!

:D Great course with a very good instructor I highly recommend this course for those just getting started in AI for unity I love this class.

Read more

other courses in 9 reviews

Penny has been very helpful and quick to answer any questions throughout the course and I'm now considering some of her other courses based on the quality of this one.

It started out with the basics and gradually built on what you had learned, not jumping from one topic to the next like most other courses.

Will be purchasing her other courses.

This is a great course for getting up to speed with developing AI for Unity and I look forward to her other courses on Unity.

I watched both her YouTube Videos and her other courses here on Udemy.

I got so fixated with her teaching method that I already purchased 2 other courses from her.

Read more

behavior tree in 8 reviews

Oh and Behavior Trees!

- Gives a good high level overview of the *idea* behind topics like behavior trees, GOAP, etc.

What else I'd like to see in this course: - As already mentioned, I'd love to have created my own behavior tree and GOAP system.

- A short discussion about the pros and cons of using FSMs, behavior trees, GOAP, etc would be nice.

- Maybe a section about combining different techniques like behavior trees and FSMs.

Penny covers advanced concepts like Behavior Trees and Goal Oriented Action Planning (GOAP) with simple example projects allowing the students to understand how to apply these concepts.

The main reason that I purchased this course was because it claimed to teach us to program behavior trees.

Read more


An overview of related careers and their average salaries in the US. Bars indicate income percentile.

used car dealer $40k

New/Used Equipment Sales and Leasing $43k

Used Equipment Sales Rep $51k

Used Parts Sales $53k

New and Used Truck Sales Representative $60k

New and Used Truck Sales Rep $62k

Techniques (General) Engineer $70k

used jet sales $71k

Regional used jet sales $90k

National Manager, Used Vehicle Marketing $101k

Regional used jet sales Manager $129k

Regional New & Used Truck Sales Manager $136k

Write a review

Your opinion matters. Tell us what you think.


Rating 4.7 based on 279 ratings
Length 11 total hours
Starts On Demand (Start anytime)
Cost $9
From Udemy
Instructors Penny de Byl, Penny
Download Videos Only via the Udemy mobile app
Language English
Subjects Data Science Programming
Tags Data Science Game Development Development

Similar Courses

Sorted by relevance

Like this course?

Here's what to do next:

  • Save this course for later
  • Get more details from the course provider
  • Enroll in this course
Enroll Now