Character Movement in Unity 3D | New Input System + Root Motion Explained

preview_player
Показать описание
Learn to move characters in Unity 3D with this beginner-friendly explanation of Unity's new input system and root motion!

With this deep dive tutorial, you will not only have a better understanding of root motion and Unity's new input system, but you will also have an animated character by the end of the video!

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

GEAR:

►TIMESTAMPS:
Intro: 0:00
Download From Mixamo: 0:39
Unity Setup: 0:58
Character Setup: 1:20
Create Animator Controller: 1:55
Animations To Animator: 2:08
Animation Transition Setup: 2:30
ROOT MOTION EXPLAINED: 3:11
Modifying Root Motion: 3:32
Bake Into Pose Setting: 3:49
Based Upon Settings: 4:05
Fixing Our Animation Issue: 4:30
New Input System Package Install: 4:50
NEW INPUT SYSTEM EXPLAINED: 5:08
Interface Breakdown: 5:28
Creating Actions: 5:48
Action Properties Explained: 6:30
Disambiguation Explained: 6:57
Bindings Setup: 7:23
Controller Detection: 7:57
Gamepad Binding: 8:15
Stick Deadzone Processor: 8:28
Run Action: 8:41
Create Player Input Class: 9:00
LETS CODE: 9:22
Animator Variable Declaration: 9:32
Movement Logic: 10:00
NEW INPUT SYSTEM CODE: 10:15
Actions Maps & Actions: 11:00
Event Listeners Explained: 11:16
Callback Implementation: 11:50
Accessing Gamepad Data: 12:29
Enable & Disable Action Maps: 12:48
Storing Gamepad Data: 13:15
Moving Character Implementation: 14:00
Character Moving: 14:43
Rotating Character Implementation: 15:04
Final Product: 16:09
Next Video: 16:18
Рекомендации по теме
Комментарии
Автор

wow that was one of the best tutorials I've seen. you show us everything AND most importantly -explain why. Thank you very much

AetherXIV
Автор

Brackeys is gone, but seems like we have a new one here that may be taking his crown :D

Hakohn
Автор

Timestamps AND actual explanations?

Thank god I found your channel

colorzFX
Автор

I like how you bring focus to the proper section of the UI by either zooming and blurring background or using the red arrows. Also nice to see a reminder of what was entered in the UI while going over the script.

StevenBloomfield
Автор

At 13:58 you should add another handler:
+= ctx => movementPressed = false;
If you don't do this then movement will not cancel if the user doesn't guide the stick back into the deadzone (they just release it so it snaps backs to centre). Will save someone 30 minutes trying to find where the bug is.

mikedavies
Автор

Thank you for well explained tutorials, you have helped me a lot keep going man, i just want to mention 7:23 guys make sure that you choose pass through ( Action Type ) otherwise the player will keep moving in the idle state i've discovered this problem after 9 hours of digging Lol small advice make sure you have a cup of coffee to avoid these types of mistake xD, Again Thank you so much !!

sam-
Автор

I have been trying to do some animations on a basic character for a week now. Finally, everything was resolved by this video. Thanks for the help

aniketsinghrawat
Автор

Almost 2 years later I still come back to the root motion section. It's explained way better than in the docs.

AlexBlackfrost
Автор

This is one of the best tutorials on Input I've seen in a long time! Very understanding in explanations. I hope you do much more in the future.

RussmanDesignHD
Автор

TNice tutorials tutorial is so useful, I tried tons of other tutorials but tNice tutorials was the best one

galogalliani
Автор

Been binging your vids all day to get a better understanding of movement controllers in unity, i love your vids man, thanks for being awesome!

charuzu
Автор

Everytime I looking for something he always does it thank you

ninjaser
Автор

man I still love your work and the dedication you put into it. it is just amazing. Thanks for sharing.

tayyabchadhar
Автор

TNice tutorials is by far, the best tutorial I have found so far. I feel like I’ll be spending a lot of ti on your channel! Thanks man! Keep up the good

toyfox
Автор

Nicky my man, We love We're so greatful for all the work and effort. Please give up more! :D

Chickengbs
Автор

The best tutorial for learning animation character controlling.U are the best Sir!

sonisinha
Автор

Found this by chance but you explained this really well, making it far more understandable than others I have watched. Giving the info really is key for any viewers to learn so this was perfect. Good job, subbed for future stuff!

CymbalMonkey
Автор

I've been waiting for this video for so long, thank you!

blend-eren
Автор

lol 3:53 on pause helped me more than dozens of videos. thanks!

ddinoboy
Автор

So glad I took a chance watching this. It's criminal that you don't have a bigger following, this was a very well made instructional!

Cerealfrog