Root Motion Explained (Unity Tutorial)

  Рет қаралды 75,219

Ketra Games

Ketra Games

Күн бұрын

Пікірлер
@meddjihed9108
@meddjihed9108 3 жыл бұрын
No one explains root motion as simple and clear as you, thank you
@KetraGames
@KetraGames 3 жыл бұрын
Thanks for this 👍😊
@alexi8781
@alexi8781 9 күн бұрын
i dont think ive ever seen so detailed tutorial on anything
@KetraGames
@KetraGames 6 күн бұрын
Thanks 😊
@yuido
@yuido 3 жыл бұрын
Great tutorial! You explain everything about the subject in a very detailed and simple way.
@KetraGames
@KetraGames 3 жыл бұрын
Thanks for this comment. Glad you found the video useful 😊
@time_null
@time_null 2 жыл бұрын
wow this is the best video i have ever found about root motion, thanks
@KetraGames
@KetraGames 2 жыл бұрын
Thanks so much for this comment 😊
@MySuperSecretName-lh5mh
@MySuperSecretName-lh5mh 7 ай бұрын
A tutorial that makes even a programmer understand how the heck animations work. Thanks!
@ricardolicorish2019
@ricardolicorish2019 3 жыл бұрын
Excellent as usual and useful! Thanks, was hoping you would create a video on Root Motion and can't wait for the next video on using Root Motion to move a character using a Character Controller component
@KetraGames
@KetraGames 3 жыл бұрын
Thanks for your support 😊
@lukecresante
@lukecresante Жыл бұрын
This is an absolutely incredible series, thank you, thank you!
@KetraGames
@KetraGames Жыл бұрын
Thanks very much for this comment 😊
@Coco-fw1in
@Coco-fw1in Жыл бұрын
AWESOME EXPLANATION !!!! Thank you very much )
@prathameshgaikwad7550
@prathameshgaikwad7550 Жыл бұрын
believe me I have scratched all the video, but you did explain it, the best in the world, that how root motion works.
@dfghj241
@dfghj241 3 жыл бұрын
BTW, you can use Root motion with a Generic rig. just make sure you have defined your root bone in the top of the Rig's hierarchy. the root bone should be, as the name implies, the Root of the tree of bones
@KetraGames
@KetraGames 3 жыл бұрын
Thanks so much for this. Really wish KZbin would allow editing so I could add this to the video 😊
@omnisepher
@omnisepher 3 жыл бұрын
Perfect, exactly what I was looking for.
@KetraGames
@KetraGames 3 жыл бұрын
Great to hear 😊
@DontCare395
@DontCare395 2 жыл бұрын
Thank you for the tutorial,this video bring back my memory that lost from my head for a long time 😊
@KetraGames
@KetraGames 2 жыл бұрын
Glad it was useful 😊
@playtestdevice9156
@playtestdevice9156 3 жыл бұрын
Wonderfully explained. I was pursuing this course from udemy unity animation by holostic 3d- penny. But till now they havent told us why the character was going down in y position and how to avoid it. You explained the reason and that too well. Subscribed. Thanks for the hard work
@KetraGames
@KetraGames 3 жыл бұрын
Great to hear. Thanks for this 😊
@arunachalpradesh399
@arunachalpradesh399 3 жыл бұрын
penny already showed in tutorial how to avoid it, by baking y position or rotation. may be you missed and skipped the part. i just came from pennys tutorial
@challengedollar2880
@challengedollar2880 Жыл бұрын
such a brilliant explanation. Thank you! Subbed and liked!
@baroquedub
@baroquedub 2 жыл бұрын
It's already been said but just to add my thanks.. wow, another thorough yet easy to understand explanation of those esoteric unity settings. I'd never before properly understood what Bake in Pose actually did. Thank you
@KetraGames
@KetraGames 2 жыл бұрын
Thanks for this comment 😊
@huelea
@huelea Жыл бұрын
Thank You so Much. You have helped me a lot
@XpressMusic5530
@XpressMusic5530 2 жыл бұрын
You helped me a lot!
@KetraGames
@KetraGames 2 жыл бұрын
Glad it was useful 😊
@MadJack000
@MadJack000 Жыл бұрын
Cette vidéo est vraiment excellente, j'ai enfin compris comment utiliser le "Root Motion". Explications très claires ! Merci mille fois ! 👍
@KetraGames
@KetraGames Жыл бұрын
Great to hear, thanks 😊
@THETV1RUS
@THETV1RUS 2 жыл бұрын
Thank you so much for this simple and very important explanation of root motion. This seriously helped me.
@KetraGames
@KetraGames 2 жыл бұрын
Great to hear this 😊
@유진한-b7j
@유진한-b7j 10 ай бұрын
Perfect Tutorial!!
@KetraGames
@KetraGames 9 ай бұрын
Thank you 👍😊
@filibustero7809
@filibustero7809 2 жыл бұрын
Thank you very much for creating this tutorial, this video solves my problem, I'm currently trying to learn how to create a short film in cinemachine and thanks to you I made a significant step forward. Thanks!
@KetraGames
@KetraGames 2 жыл бұрын
Great to hear this. Thanks 😊
@minhtan1675
@minhtan1675 Жыл бұрын
that super useful, thank you very much 😊❤
@ItachiX9
@ItachiX9 3 жыл бұрын
All your videos are the best! Keep it up!❤
@KetraGames
@KetraGames 3 жыл бұрын
Thanks for this 😊
@alanh441
@alanh441 2 жыл бұрын
Thank you for such a great tutorial, been searching for ages for why my character kept snapping back to its start position!
@KetraGames
@KetraGames 2 жыл бұрын
Great, glad it was useful 😊
@davenirline
@davenirline 3 жыл бұрын
Awesome! Thank you for this.
@KetraGames
@KetraGames 3 жыл бұрын
Glad you found it useful 😊
@evanchen7567
@evanchen7567 Жыл бұрын
This is incredibly clear 🎉thx
@ZiroViI
@ZiroViI 3 жыл бұрын
Excellent Video! There are no many video tutorials that explain this part of the animation Feature. hoping that you create a video to explain how is the best way to synch 2 animations
@KetraGames
@KetraGames 3 жыл бұрын
Thanks for this comment 😊
@kingchess64
@kingchess64 2 жыл бұрын
very clear explanation love it
@KetraGames
@KetraGames 2 жыл бұрын
Great to hear 😊
@saniyakhansaniyakhan9076
@saniyakhansaniyakhan9076 9 ай бұрын
Can you make a video on Joystick. I really want it
@abdoulraoufgambo
@abdoulraoufgambo 2 жыл бұрын
thank you so much you explain very clairly please continue
@KetraGames
@KetraGames 2 жыл бұрын
Thanks for your support 😊
@RuperDesarrollo93
@RuperDesarrollo93 5 ай бұрын
Hii! im getting this error when i try to select my avatar into the humanoi animation i want to use : File 'HeavySword_b_move' copied Avatar Rig Configuration mis-match. Transform hierarchy does not match: Transform 'Hips' for human bone 'Hips' not found UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) hips are okey in both avatars configurations... if u or anyone can help me i ll apreciatte a lot...
@ElectRocnicOfficial
@ElectRocnicOfficial Жыл бұрын
I want to have my usual animations for the rig and keyframes instead of the C# script for root movement. How can I add keyframes (I don't want them inside the animation states, because this should be above all animation states)?
@roxannafabiolastefaniuc3606
@roxannafabiolastefaniuc3606 Жыл бұрын
thank you for explaining the root motion. I have a question about it. When i activate root motion on animator on a 3D character. its sliding, especially if the terrain is higher.. why is that? how can i fix this please? do you have another video about this issue?
@antonbaidzionak8282
@antonbaidzionak8282 3 жыл бұрын
Thank you! I was looking for solution for y offset problem and you gave it
@KetraGames
@KetraGames 3 жыл бұрын
Glad to hear this 😊
@magickomchanell4556
@magickomchanell4556 Ай бұрын
perfect and clear TYSM
@ani-gamer320
@ani-gamer320 3 жыл бұрын
Nice tutorial ❤️👍🏻
@KetraGames
@KetraGames 3 жыл бұрын
Thanks 😊
@bigsmoke8344
@bigsmoke8344 2 жыл бұрын
Thank you very much♥️
@KetraGames
@KetraGames 2 жыл бұрын
👍😊
@farianderson168
@farianderson168 Жыл бұрын
is this root motion achievable with a simple cube animated with timeline and without any armature?
@starplatinum3305
@starplatinum3305 Жыл бұрын
How about a jump animation ? And if i wanna change speed i have to speed up the animation ?
@operationfrogurt
@operationfrogurt Жыл бұрын
Great video! When I create custom animations though, the green and red lights for loop match don't appear. How can I get those to appear for my own animations?
@SheepYT
@SheepYT 3 жыл бұрын
Incredible video !
@KetraGames
@KetraGames 3 жыл бұрын
Thank you! 😊
@Legend-tb2vs
@Legend-tb2vs 8 ай бұрын
My character is above the ground while performing the animation i did bake into pose but still it just starts from there pls help
@mrearlragnar3187
@mrearlragnar3187 2 жыл бұрын
great tutorial, great job
@KetraGames
@KetraGames 2 жыл бұрын
Thank you 😊
@oceancx4133
@oceancx4133 2 жыл бұрын
your voice is full of rhythm
@KetraGames
@KetraGames 2 жыл бұрын
Thanks! 😊
@qwertz3813
@qwertz3813 2 жыл бұрын
I am working on a 3D battle For Honor like game, and Root Motion seems to be perfect for things like rolling, dashes, sword swinging etc. Thanks!
@KetraGames
@KetraGames 2 жыл бұрын
Yes, it should work well for those types of movement 😊
@qwertz3813
@qwertz3813 2 жыл бұрын
@@KetraGames I want to also mention that you can control root motion by script, so you can use root motion for some animations and script physics for other. Its a cool feature someone might be looking for.
@gmangman123
@gmangman123 Жыл бұрын
when the export fbx to unit animator says: (none) motion what is this?
@noegoleo928
@noegoleo928 2 жыл бұрын
Thank u so much for this video!
@KetraGames
@KetraGames 2 жыл бұрын
👍😊
@parriedswoosh
@parriedswoosh 2 жыл бұрын
have you come across characters animations being changed when imported from mixamo to unity; for example, the running animation has the player run but nothing rotates as it should, instead you see the head rotating in place. it looks okay, but there is a difference, the rotation is like moved/or fixated in a way that the whole body doesn't move the same way, only parts of it.
@KetraGames
@KetraGames 2 жыл бұрын
Hi, it can look like this if the root motion isn't being applied properly. Have you got the 'Apply Root Motion' checkbox ticked in the Animator component of the character?
@Husmanmusic
@Husmanmusic 2 жыл бұрын
Hey Ketra, awesome videos on rootMotion. I got it to work awesome for my player character! However, i just can’t get it to work properly for my npcs, which are navemeshagents who use .setposition. Could you perhaps do a video/explanation on how to use rootmotion on npc’s? Thanks for what you do!
@KetraGames
@KetraGames 2 жыл бұрын
Hi Husman, to get it to work for a navmeshagent you need to implement the OnAnimatorMove method. This will allow you to set the speed of the agent to the root motion. Something like this should get you started void OnAnimatorMove() { agent.velocity = animator.deltaPosition / Time.deltaTime; } Hope this helps for now. We'll definitely look at doing a video on this in the future. Thanks for the suggestion 😊
@Husmanmusic
@Husmanmusic 2 жыл бұрын
@@KetraGames Hey Ketra, thank you for getting back. I tried that method, but for me the navmesh agent than just walks straight forward(because the rootmotion walking animation is moving forward) So the character when using agent.SetDestination will not go to the destination that i set. I think the issue is that the rootmotion is overriding the rotation that needs to happen to get to its destination. It's been quite puzzling.
@KetraGames
@KetraGames 2 жыл бұрын
Hi Husman, sorry the previous code I sent wasn't quite right. You need to change the speed not the velocity. Something like this agent.speed = (animator.deltaPosition / Time.deltaTime).magnitude; That way it won't override the direction.
@Husmanmusic
@Husmanmusic 2 жыл бұрын
@@KetraGames Ah thank you, will check that out!
@Husmanmusic
@Husmanmusic 2 жыл бұрын
@@KetraGames That totally did the trick, I have no clue what that line of code means but it works like a charm haha! (patiently waiting for the next awesome video by you).
@edhalsim
@edhalsim Жыл бұрын
Excellent video. One question though: How can I make it so the character doesn't walk through objects? I tried adding a capsule collider, but that didn't do anything. Also, when you mention a future video, please include it at the end so it can be clicked on, or a link in the description. Thanks again!
@KetraGames
@KetraGames Жыл бұрын
Hi, try adding either a CharacterController component or a Rigidbody component and that should stop it walking through walls. Thanks for pointing out the missing link to the future video. I've now included it at the end 😊
@erfanzandi1362
@erfanzandi1362 Жыл бұрын
Great video indeed.
@KetraGames
@KetraGames Жыл бұрын
Thank you 😊
@saniyakhansaniyakhan9076
@saniyakhansaniyakhan9076 9 ай бұрын
My Root Motion is not working , what should I do. PLZ REPLY
@saniyakhansaniyakhan9076
@saniyakhansaniyakhan9076 9 ай бұрын
I SOLVED it by downloading the animation from Mixamo.Before I was using animations from an Asset
@regularshadow7309
@regularshadow7309 3 жыл бұрын
awesome thanks
@KetraGames
@KetraGames 3 жыл бұрын
👍😊
@m24.editss
@m24.editss 3 жыл бұрын
Good i like this video Please part2
@KetraGames
@KetraGames 3 жыл бұрын
Hi, we have a follow up video to this showing how to use root motion with a Character Controller - kzbin.info/www/bejne/o3_bdpiqgN-WZpY. Hope you find it useful 😊
@nickfai9301
@nickfai9301 2 жыл бұрын
Hi, I bought Low Poly Characters Mega Pack from Unity Assets Store. The characters only can walk or run at a same spot. Is it because the characters do not have root motion?
@KetraGames
@KetraGames 2 жыл бұрын
Hi, some animations contain root motion and some are just in place. If you have in place animations then you'll need to move the character yourself via script. Hope that helps 😊
@nickfai9301
@nickfai9301 2 жыл бұрын
@@KetraGames Thanks.
@utsavsingh1128
@utsavsingh1128 3 жыл бұрын
Hi Ketra, thanks for the video and great explanation. But I have a problem. Baking animations options are not available in some asset animations downloaded from the asset store but from Mixamo it's there. After searching over the internet a lot, I am still not able to understand why the "Bake into Pose" option is not shown. But it is shown for some assets like those downloaded from Mixamo. All rigs are Humanoid. After the jump, my character keeps going below the floor. Please guide
@KetraGames
@KetraGames 3 жыл бұрын
Hi, the first thing to check is that the apply button has been clicked on the Rig tab after changing to Humanoid. Unity lets you switch to the Animation tab without applying the changes and I've been caught out by that a few times.
@LordCritish
@LordCritish 7 ай бұрын
Eeeeexcellent! And I like the British accent.
@munyunu
@munyunu Жыл бұрын
Thank you!
@KetraGames
@KetraGames Жыл бұрын
👍😊
@prathameshgaikwad7550
@prathameshgaikwad7550 Жыл бұрын
next time please make video on navMesh agents and how to use root motion on them.
@fabianobersovszky6987
@fabianobersovszky6987 2 жыл бұрын
As far as i know, root motion is not recommended in some cases. Can i use root motion for a third person cover system for a MP game?
@KetraGames
@KetraGames Жыл бұрын
Hi, yes, you can use root motion for a third person cover system. If you have animations with the motion included then root motion is the way to go. If they don't have motion then you'll have to update the position in a script. Hope that helps 😊
@embashosho6080
@embashosho6080 2 жыл бұрын
Great tutorial. One question. I'm trying to apply root motion for an animal, say a dinosaur, can I still use the humanoid option? The animal keeps walking in the same position
@KetraGames
@KetraGames 2 жыл бұрын
Hi, you would be better off using the generic option for animals. You can still use root motion though. You just need to create an avatar from the model as you would for humanoid, and set the 'Root node' to the root bone. Hope that helps 😊
@lousadascp3208
@lousadascp3208 2 жыл бұрын
Hello, should we use root motion when we have a lot of animations and we wanna use a 2d blend tree?
@KetraGames
@KetraGames 2 жыл бұрын
Hi, when you have lots of blended animations it is particularly difficult to match scripted movement with the animation, so I would say that root motion would probably make things easier.
@lousadascp3208
@lousadascp3208 2 жыл бұрын
@@KetraGames thank you so much for all your work and the time you spend answering to people :)
@盛鹤翔
@盛鹤翔 2 жыл бұрын
saved me thanks!!!
@KetraGames
@KetraGames 2 жыл бұрын
Glad it was useful 😊
@myelinsheathxd
@myelinsheathxd 3 жыл бұрын
thx!
@KetraGames
@KetraGames 3 жыл бұрын
👍😊
@Danyu91
@Danyu91 2 жыл бұрын
the walk animation root motion seems to make my character slowly move down into the ground, no matter what check i did with the tut. my solution was to just add a collider and rigid body.
@KetraGames
@KetraGames 2 жыл бұрын
Hi, if you bake the Root Transform Position (Y) into the pose then the animation shouldn't affect the Y position. Glad you found a solution though 😊
@carlos-sc-048
@carlos-sc-048 10 ай бұрын
Ajudou muito, valeu!
@redeye1k
@redeye1k 3 жыл бұрын
first , ty for the tips!
@KetraGames
@KetraGames 3 жыл бұрын
👍😊
@unrealdevop
@unrealdevop Жыл бұрын
I wish someone would tell Animators that Root Motion has the keyword ROOOOOTTTT for a reason....there is a reason they don't call them HIP MOTION ANIMATIONS
@yusufkoraycan4607
@yusufkoraycan4607 2 жыл бұрын
Love u
@KetraGames
@KetraGames 2 жыл бұрын
😊😊
@ninjedi6710
@ninjedi6710 2 жыл бұрын
but but but. why does root motion add gravity to my character?
@KetraGames
@KetraGames 2 жыл бұрын
Hi, if you're using Root Motion with a Character Controller then gravity will be added by default. You can override this using OnAnimatorOverride docs.unity3d.com/ScriptReference/MonoBehaviour.OnAnimatorMove.html. Hope that helps 😊
@Montazeran8
@Montazeran8 2 жыл бұрын
❤❤❤
@KetraGames
@KetraGames 2 жыл бұрын
💗
@BobTheSkateboard01
@BobTheSkateboard01 2 жыл бұрын
Your character isn't an ambiturner
@KetraGames
@KetraGames 2 жыл бұрын
Very true 😂
@dudedudedudedude5381
@dudedudedudedude5381 Жыл бұрын
Thank you!
@shikhermyv
@shikhermyv Жыл бұрын
Thank you!
Animator Override Controllers Explained (Unity Tutorial)
6:08
Ketra Games
Рет қаралды 16 М.
Animation Retargeting (Unity Tutorial)
10:34
Ketra Games
Рет қаралды 51 М.
One day.. 🙌
00:33
Celine Dept
Рет қаралды 63 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 6 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 33 МЛН
Root Motion Explained - Unity Tutorial
4:02
Roundbeargames
Рет қаралды 27 М.
Using Root Motion with a Character Controller (Unity Tutorial)
12:11
How to use Animation Transitions (Unity Tutorial)
9:59
Ketra Games
Рет қаралды 185 М.
How To Animate Characters In Unity 3D | Animation Layers Explained
16:00
Should You Use Root Motion?
5:23
Birdmask Studio
Рет қаралды 123 М.
Unleash Flawless Unity Animations with Blend Trees
21:06
Inexperienced Developer
Рет қаралды 23 М.
Watch This Before Working on a Big Game in Unity
18:44
John Leorid
Рет қаралды 300 М.
How to work with humanoid animations in Unity
12:50
Unity
Рет қаралды 41 М.
One day.. 🙌
00:33
Celine Dept
Рет қаралды 63 МЛН