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

Показать описание
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 Merch:
WANT MORE?
Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
✦ Like the vid? Please consider Subscribing!
✦ Missed out on the last episode?
SOCIAL:
✦ Discord
✦ Twitter
LINKS FROM THE VIDEO:
🤖 Download Jammo for YOUR game:
⭐ And Check Out MixAndJam!
🌐 Learn about Quaternions
GEAR:
►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
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
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 Merch:
WANT MORE?
Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
✦ Like the vid? Please consider Subscribing!
✦ Missed out on the last episode?
SOCIAL:
✦ Discord
LINKS FROM THE VIDEO:
🤖 Download Jammo for YOUR game:
⭐ And Check Out MixAndJam!
🌐 Learn about Quaternions
GEAR:
►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
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
Комментарии