How to Move Characters in Unity 3D: Animated Movement Explained [Built-In Character Controller #2]

Published: 01 January 1970
on channel: iHeartGameDev
180,484
5k

A breakdown and explanation of how to properly move animated characters in Unity 3D! Learn movement with the Built-In Character Controller and New Input System!

This beginner-friendly tutorial is a COMPLETE walkthrough of how to use Unity 3D's built-in character controller to get a character moving while incorporating animations! In addition, we take the time to break down complicated concepts and understand how it all works!

Small update in 2022: Thanks to Cláudio Costa for pointing out a change in more recent versions of Unity: the "2D Vector Composite Binding" has been renamed to "Up/Down/Left/Right Binding". It is still functionally the exact same though! ✨

ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
💛   / iheartgamedev  
iHeartGameDev Merch:
💛 https://www.iheartgamedev.com

WANT MORE?
Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
✅    • Unity's Animation System  
✦ Like the vid? Please consider Subscribing!
https://bit.ly/2YdIb6j
✦ Missed out on the last episode?
   • How to Move Characters In Unity 3D | ...  

SOCIAL:
✦ Discord
  / discord  
✦ Twitter
  / iheartgamedev  

LINKS FROM THE VIDEO:
🤖 Download Jammo for YOUR game:
https://assetstore.unity.com/packages...
⭐ And Check Out MixAndJam!
   / mixandjam  
🌐 Learn about Quaternions
https://eater.net/quaternions

GEAR:
Lumix G7 Camera: https://amzn.to/3Kks1gZ
Epomaker GK68 Keyboard: https://amzn.to/3Ke87EB
Samson C01U Pro Mic: https://amzn.to/33kDdtG
LG 27" Monitor: https://amzn.to/3qAHFwS
Lepow 15.6" Portable Monitor: https://amzn.to/3287OtL
Logitech G604 Mouse: https://amzn.to/3A6jNV4
Audio-Technica ATH-M50X Headphones: https://amzn.to/3tBaeMT
X-Pen Artist 15.6 Pro Drawing Tablet: https://amzn.to/3FE5HLI
Apple 15in MacBook Pro Laptop: https://amzn.to/3AbKdFc

►TIMESTAMPS:
Intro: 0:00
Walkthrough Breakdown: 0:40
Download Project Animations: 1:00
Fresh Unity Project: 1:22
Import & Modify Animations: 1:50
Jammo Setup: 3:10
Adding Animator Component & Animation Controller: 3:42
Animation States Setup: 4:22
Animation State Transitions: 4:59
Adding Animations To Animation States: 5:40
New Input System Setup: 6:10
What are Input Actions: 6:24
Action Maps, Actions & Properties: 6:38
Our First Action Map & Action: 7:01
Setting up the Move Action: 7:22
Input Bindings Explained: 8:22
2D Vector Composite Explained: 9:36
Setting up the Run Action: 10:00
IMPORTANT Generate Input Class: 10:25
Are You New to Coding: 10:58
Add a Script to Jammo: 11:17
Accessing our PlayerInput Class: 11:37
Callback Functions Setup & Explained: 12:24
Testing Callback Function: 13:14
Enable & Disable Action Maps: 13:44
Storing & Using the Input Data: 14:23
Adding & Accessing the Character Controller: 15:31
First Movement Code: 16:24
Update Function & Time.deltaTime Explained: 16:39
Setting Up More Input Callbacks: 17:29
Don't Repeat Yourself Movement Refactor: 18:10
Access Animation through Code: 18:55
HandleAnimation Function Setup: 19:30
Learning to Turn with Quaternions: 20:50
HandleRotation Function Setup: 21:20
Quaternion Slerp Explained: 22:27
Run Movement Setup & Code: 23:18
Animator Parameter Hashing Refactor: 25:05
Running Animation Code: 25:31
HandleGravity Function Setup: 26:10
Final Result: 26:56
How to Vote on the Next Tutorial: 27:13


Watch video How to Move Characters in Unity 3D: Animated Movement Explained [Built-In Character Controller #2] online, duration hours minute second in high quality that is uploaded to the channel iHeartGameDev 01 January 1970. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 180,484 times and liked it 5 thousand visitors.