Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS AWS Certified Developer - Associate CompTIA Security+
Photoshop Graphic Design Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Mindfulness Personal Development Personal Transformation Meditation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee

This course includes:

  • 10.5 hours on-demand video
  • 12 articles
  • 72 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
Development Game Development Artificial Intelligence

The Beginner's Guide to Artificial Intelligence in Unity.

A practical guide to programming non-player characters for games.
Rating: 4.7 out of 54.7 (1,776 ratings)
33,429 students
Created by Penny de Byl, Penny @Holistic3D.com
Last updated 11/2020
English
English, Portuguese [Auto], 
30-Day Money-Back Guarantee

What you'll learn

  • Design and program NPCs with C# in Unity
  • Explain how AI is applied in computer games
  • Implement AI-related Unity Asset plugins into existing projects
  • Work with a variety of AI techniques for developing navigation and decision making abilities in NPCs
Curated for the Udemy for Business collection

Course content

11 sections • 70 lectures • 10h 48m total length

  • Preview03:26
  • Preview01:15
  • FAQ's
    00:25
  • Preview07:02
  • Vector Mathematic Basics Cheat Sheet
    04:41
  • Test your vector mathematics knowledge
    10 questions
  • Important Note Regarding Unity Updates to FBX Model Importing
    05:19

  • Vectors and Moving in a Straight Line
    11:50
  • Traveling to a Goal Location
    12:21
  • Pushing the Character Forward
    12:40
  • Slerping
    05:19
  • About Animation and Translation
    06:38
  • Waypoints
    09:10
  • Challenge
    00:13

  • Unity's Waypoint System
    12:38
  • Car Racing with Waypoints
    13:25
  • Customising Car Behaviours
    07:59
  • Unity's Vehicle System
    15:38

  • Preview08:31
  • Pathfinding through Waypoints
    19:31
  • Pathfinding through Waypoints Part 2
    10:17
  • Challenge
    00:13
  • Waypoints in 2D
    01:05

  • Preview05:11
  • From Waypoints to NavMesh
    09:07
  • NavMesh Agents Part 1
    17:42
  • NavMesh Agents Part 2
    10:32
  • Following a Player on A NavMesh and Setting-Up Off Mesh Links
    14:10
  • Fixing Mixamo Textures
    00:09
  • Animating on a NavMesh
    13:36
  • Syncing Animation Speed with NavMesh Agent Speed
    06:35
  • Multiple NavMeshes for Different Agent Sizes
    12:41
  • Challenge
    00:12

  • Seek and Flee
    11:08
  • Pursuit
    12:34
  • Evade
    03:19
  • Wander
    11:30
  • Preview15:21
  • Hide Part 2
    18:39
  • Complex Behaviours
    10:24
  • Behaviour Challenge
    08:48

  • Crowd Simulation
    07:59
  • Creating a City Crowd Part 1
    12:55
  • Creating a City Crowd Part 2
    11:20
  • Fleeing
    18:29
  • Flocking Part 1
    20:00
  • Flocking Part 2
    15:45
  • Flocking Part 3
    12:58
  • Challenge 1
    00:14
  • Challenge 2
    00:07
  • Challenge 3
    00:08

  • Line of Sight
    14:10
  • Finite State Machines Part 1
    10:52
  • Finite State Machines Part 2
    14:49
  • Finite State Machines Part 3
    09:36
  • Converting the FSM to Work on a Navmesh
    07:05
  • Challenge
    00:05

  • Introduction to Behaviour Trees
    03:54
  • Preview17:17
  • Sequence Nodes Part 2
    16:06
  • Embedding Logic in Behaviour Trees
    11:00
  • Selector Nodes
    05:15
  • More Logic for Complex Behaviours
    08:20
  • Putting Together a Complex Behaviour Tree
    15:26
  • Challenge
    00:12

  • Introduction to GOAP
    05:22
  • Getting Started with GOAP in Unity
    14:48
  • Adding Actions to GOAP
    11:15
  • Adding Multiple Plans to GOAP
    06:51
  • Global States and Multiple Agents
    13:11

Requirements

  • You should be familiar with C# and the Unity Game Development Engine.

Description

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.

Who this course is for:

  • Anyone interested in learning how to program their own non-player characters (NPCs).
  • Anyone interested in seeing how artificial intelligence is applied in computer games.

Featured review

Andres Giuffre
Andres Giuffre
31 courses
7 reviews
Rating: 5.0 out of 5a year ago
Amazing course!, I've almost finished it and although I'll have to review a couple of sections, I know that it takes time and practice to get the click (as Penny says in the end). I loved the GOAP section, it's something new I've never learned before, so I'll be trying to create more complex scenarios and get practice. I just want to thank you, Penny, for your amazing work :)

Instructors

Penny de Byl
International Award Winning Professor & Best Selling Author
Penny de Byl
  • 4.7 Instructor Rating
  • 15,309 Reviews
  • 91,399 Students
  • 20 Courses

Hi, I'm Dr Penny de Byl.  I'm a full stack developer of most things computer sciency and academic with a true passion for teaching.  I've been teaching others about games development, programming, computer graphics, animation and web design for over 25 years in universities in Australia and Europe at the full professor level. I've also consulted for Unity, SAE, the Australian Institute of Entertainment and Wikitude. My best selling textbooks including Holistic Game Development with Unity are used in over 100 institutions world-wide.  My graduates work at companies like Apple, Ubisoft, LinkedIn and Deloitte Digital.

I have an honours degree in computer graphics and a Ph.D. in artificial intelligence for games characters.  Over the course of my career I've won numerous awards for teaching excellence at the state, national and international levels including the Australian Learning and Teaching Council's Excellence in Teaching Award and the Unity Mobile Game Curriculum Competition. My approach to teaching computer science and related fields is project-based giving you hands-on workshops you can immediately get your teeth into.

I want you to leave my virtual classroom fully armed with a toolkit of skills for life-long learning.  I'm excited to now be focussing my efforts full-time on Udemy to bring my years of knowledge and experience to those eager to learn about technology.


Penny @Holistic3D.com
Academic, Author & Game Development Enthusiast
Penny @Holistic3D.com
  • 4.7 Instructor Rating
  • 15,309 Reviews
  • 91,399 Students
  • 20 Courses

Hi, I'm Dr Penny de Byl.  I'm a full stack developer of most things computer sciency and academic with a true passion for teaching.  I've been teaching others about games development, programming, computer graphics, animation and web design for over 25 years in universities in Australia and Europe at the full professor level. I've also consulted for Unity and SAE. My best selling textbooks including Holistic Game Development with Unity are used in over 100 institutions world-wide.  My graduates work at companies like Apple, Ubisoft, LinkedIn and Deloitte Digital.

I have an honours degree in computer graphics and a Ph.D. in artificial intelligence for games characters.  Over the course of my career I've won numerous awards for teaching excellence at the state, national and international levels including the Australian Learning and Teaching Council's Excellence in Teaching Award and the Unity Mobile Game Curriculum Competition. My approach to teaching computer science and related fields is project-based giving you hands-on workshops you can immediately get your teeth into.

I want you to leave my virtual classroom fully armed with a toolkit of skills for life-long learning.  I'm excited to now be focussing my efforts full-time on Udemy to bring my years of knowledge and experience to those eager to learn about technology.

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.