Skip to content
KnowledgeCity

Unity Advanced: Character Animation and Programming

Import and set up Unity character animations and controls
Preview the first lesson free — get full access to all 6 lessons.
Course: On-Demand
Advanced Provider Ken Geary  6 Lessons ·  45m  in English 

Course Description

In these lessons, you will learn how to import 3D characters and motion capture animation clips. We will explore the initial setup of the third-person character as well as a non-player character (NPC). By the end of these lessons, you will be able to control imported character models.

You will learn how to create a third-person player using the Character Controller component and set up a smooth follow camera that incorporates Unity’s Cinemachine components. Then you’ll code player input controls to move, turn, and access the default input system. A non-player character will also be configured to work with Unity’s AI Navmesh system, setting up a Navmesh area with static areas not to be navigated and an AI “brain” that will control the NPC’s movement around the Navmesh areas. You’ll use C# code extensively for both the third-person player as well as the non-player character, learning new coding skills such as accessing the character controller component.

What You'll Learn

  • Import 3D characters and motion capture animation clips, and control imported character models
  • Create a third-person player using the Character Controller component
  • Set up a smooth follow camera using Unity's Cinemachine components
  • Code player input controls to move, turn, and access the default input system
  • Configure a non-player character (NPC) to work with Unity's AI Navmesh system, including static non-navigable areas and an AI "brain"
  • Code player and NPC motion using mouse and keyboard inputs with C#

Key Takeaways

  • The course covers importing 3D characters and motion capture animation clips and setting up both a third-person character and a non-player character.
  • A third-person player is created with the Character Controller component and a smooth follow camera built using Unity's Cinemachine components.
  • The NPC is configured with Unity's AI Navmesh system, defining a Navmesh area, static areas not to be navigated, and an AI "brain" to control NPC movement.
  • C# code is used extensively for both the third-person player and the NPC, including accessing the character controller component.
  • Player and NPC motion is coded to respond to mouse and keyboard inputs.

Frequently Asked Questions

What will I learn in this course?

You will learn to import 3D characters and motion capture clips, create a third-person player with the Character Controller component, set up a follow camera with Unity's Cinemachine, code player input controls, and configure a non-player character using Unity's AI Navmesh system.

Does this course use C# programming?

Yes. C# code is used extensively for both the third-person player and the non-player character, including learning to access the character controller component.

How is the player camera handled?

You set up a smooth follow camera that incorporates Unity's Cinemachine components.

How does the non-player character move?

The NPC is configured to work with Unity's AI Navmesh system, with a Navmesh area, static areas that are not to be navigated, and an AI "brain" that controls the NPC's movement around the Navmesh areas.

What topics do the lessons cover?

The lessons cover importing characters and motion capture, creating a third-person player, building a player controller in two parts, setting up an NPC, and setting up NPC AI.