Reinforcement Learning: AI Flight with Unity ML-Agents

AI Flight with Unity

Reinforcement Learning: AI Flight with Unity ML-Agents

Teach airplanes to fly with Unity’s Reinforcement Learning platform

What you’ll learn

  • Learn how to install, run, and train neural networks with Unity ML-Agents
  • Train airplane agents to fly with Reinforcement Learning, specifically PPO
  • Create a full, playable airplane racing game in Unity with incredibly challenging AI opponents
  • Integrate trained neural networks in a game that can be built and deployed cross-platform
  • Utilize Machine Learning at a high level (no need to write training algorithms)
  • Lots of opportunities to customize the project and make it your own


  • Intermediate programming skills (Unity uses C#)
  • A computer that can run Unity 2019.2 or above
  • Basic Unity skills (how to navigate and use the interface)
  • Optional: Basic Blender skills (how to navigate and use the interface)
  • Optional: Prior Machine Learning experience – It will help with understanding, but isn’t necessary


Interested in the intersection of video games and artificial intelligence? If so, you will love Unity ML-Agents.

Reinforcement Learning with ML-Agents is naturally more intuitive than other machine learning approaches because you can watch your neural network learn in a real-time 3d environment based on rewards for good behavior. It’s more fun because you can easily apply it to your own video game ideas rather than working with simplified example problems in a library like OpenAI Gym.

In this course, we will create a complete game with incredibly challenging AI opponents.

  • We’ll start with an introduction to ML-Agents, including how to use and train the example content.
  • Then, we’ll use Blender to make custom assets for our game (you can skip that part if you just want to code).
  • Next, we’ll create a full environment for the airplane agents and train them to fly through checkpoints without crashing into obstacles. AI Flight with Unity AI Flight with Unity
  • Finally, we’ll take our trained agents and build a full game around them that you can play, including menus for level and difficulty selection. AI Flight with Unity AI Flight with Unity

Who this course is for:

  • Intermediate software developers with an interest in AI in the Unity3d Game Engine
  • Developers that want to use Reinforcement Learning, but don’t need to know the low level details
  • Game developers interested in adding neural network AI to their games

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: