How to Animate Characters in Unity 3D | Two Dimensional Blend Trees Explained

Published: 23 August 2020
on channel: iHeartGameDev
153,748
5.2k

Learn how to animate characters in Unity 3D with dynamic animations from blend trees!

This beginner-friendly tutorial is a complete walkthrough of two dimensional blend trees and how we can use blend trees to create new animations for our characters using two float parameters!

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  

SERIES DESCRIPTION:
This is the fifth video in a series dedicated to understanding the fundamentals of Unity's animation system. Episode 0 was an introduction to the project and explains how to import free characters and animations from Adobe Mixamo. Episode 1 was a full break down of the Animator Component. And episode 2 explained how we can use booleans to give players control of animations! And episode 3 covered covered one dimensional blend trees! Today we blend trees to the next level 🤘 Be sure to check out the other videos in the series to continue learning!

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
Catch Up - 0:30
Mixamo.com - 0:57
Mixamo Export Settings - 1:23
Setup In Unity - 1:43
New Blend Tree - 2:00
Adjust Parameters - 2:20
All Blend Tree Types - 2:42
Difference in Blend Trees - 3:04
2D Simple Directional - 3:12
Add Motions - 3:28
Motions Graph Explained - 3:35
Set Motion Animations - 3:58
Set Motion Positions - 4:23
Motion Node Explained - 5:18
Testing Simple Directional - 5:57
Fixing Current Problems - 6:27
Freeform Directional - 6:30
Simple Directional Explained - 6:45
Simple Directional Proper Example - 8:00
Switch To FreeForm Directional - 8:13
Freeform Cartesian - 8:26
2D Blend Tree Comparison - 8:37
Freeform Cartesian Example - 9:21
Direct - 9:28
Why Freeform Directional - 9:46
Control to the players - 10:00
New Script - 10:23
Set Animator - 10:42
Set Velocity X and Z - 11:06
Start to Get Player Input - 11:17
Modify Velocity - 11:44
Add Acceleration And Deceleration - 12:07
StrafeCode - 12:28
Set Parameters - 13:13
Needed Improvements - 13:45
Max and Min Velocities - 14:02
Implement Deceleration - 14:32
Implement Reset of Velocity - 15:30
Handle Running - 16:07
Declare Max Walk/Run Velocity - 16:30
Set Current Max Velocity - 16:50
Learn Ternary Operators - 17:01
Replace conditions with currentMaxVelocity - 17:22
Creating Caps and Locks for Forward VelocityZ - 17:50
Replicating For Strafing Velocity X - 19:30
Refactoring Code - 20:05
Parameter Hashes - 20:22
Replace Keycodes - 20:45
Separate Code in Update Function to Two Functions - 20:55
End Result - 21:59
Outro/NextTime - 22:10
Thank you - 22:26

#indiegame #gamedev #indiedev #2020












If you are reading this, say hi :]

Thank you for watching!


Watch video How to Animate Characters in Unity 3D | Two Dimensional Blend Trees Explained online without registration, duration hours minute second in high quality. This video was added by user iHeartGameDev 23 August 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 153,748 once and liked it 5.2 thousand people.