Тёмный

Root Motion Explained (Unity Tutorial) 

Ketra Games
Подписаться 26 тыс.
Просмотров 74 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 133   
@meddjihed9108
@meddjihed9108 3 года назад
No one explains root motion as simple and clear as you, thank you
@KetraGames
@KetraGames 3 года назад
Thanks for this 👍😊
@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 😊
@MySuperSecretName-lh5mh
@MySuperSecretName-lh5mh 6 месяцев назад
A tutorial that makes even a programmer understand how the heck animations work. Thanks!
@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 😊
@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 😊
@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.
@MadJack000
@MadJack000 11 месяцев назад
Cette vidéo est vraiment excellente, j'ai enfin compris comment utiliser le "Root Motion". Explications très claires ! Merci mille fois ! 👍
@KetraGames
@KetraGames 11 месяцев назад
Great to hear, thanks 😊
@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
@유진한-b7j
@유진한-b7j 9 месяцев назад
Perfect Tutorial!!
@KetraGames
@KetraGames 8 месяцев назад
Thank you 👍😊
@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 😊
@dfghj241
@dfghj241 2 года назад
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 2 года назад
Thanks so much for this. Really wish RU-vid would allow editing so I could add this to the video 😊
@minhtan1675
@minhtan1675 Год назад
that super useful, thank you very much 😊❤
@omnisepher
@omnisepher 3 года назад
Perfect, exactly what I was looking for.
@KetraGames
@KetraGames 3 года назад
Great to hear 😊
@Coco-fw1in
@Coco-fw1in Год назад
AWESOME EXPLANATION !!!! Thank you very much )
@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 😊
@lukecresante
@lukecresante Год назад
This is an absolutely incredible series, thank you, thank you!
@KetraGames
@KetraGames Год назад
Thanks very much for this comment 😊
@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 😊
@challengedollar2880
@challengedollar2880 Год назад
such a brilliant explanation. Thank you! Subbed and liked!
@evanchen7567
@evanchen7567 Год назад
This is incredibly clear 🎉thx
@huelea
@huelea Год назад
Thank You so Much. You have helped me a lot
@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 😊
@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 😊
@ItachiX9
@ItachiX9 3 года назад
All your videos are the best! Keep it up!❤
@KetraGames
@KetraGames 3 года назад
Thanks for this 😊
@davenirline
@davenirline 3 года назад
Awesome! Thank you for this.
@KetraGames
@KetraGames 3 года назад
Glad you found it useful 😊
@antonbaidzionak8282
@antonbaidzionak8282 2 года назад
Thank you! I was looking for solution for y offset problem and you gave it
@KetraGames
@KetraGames 2 года назад
Glad to hear this 😊
@kingchess64
@kingchess64 2 года назад
very clear explanation love it
@KetraGames
@KetraGames 2 года назад
Great to hear 😊
@abdoulraoufgambo
@abdoulraoufgambo 2 года назад
thank you so much you explain very clairly please continue
@KetraGames
@KetraGames 2 года назад
Thanks for your support 😊
@bigsmoke8344
@bigsmoke8344 2 года назад
Thank you very much♥️
@KetraGames
@KetraGames 2 года назад
👍😊
@magickomchanell4556
@magickomchanell4556 5 дней назад
perfect and clear TYSM
@RuperDesarrollo93
@RuperDesarrollo93 4 месяца назад
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...
@oceancx4133
@oceancx4133 2 года назад
your voice is full of rhythm
@KetraGames
@KetraGames 2 года назад
Thanks! 😊
@ani-gamer320
@ani-gamer320 3 года назад
Nice tutorial ❤️👍🏻
@KetraGames
@KetraGames 3 года назад
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.
@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
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?
@Legend-tb2vs
@Legend-tb2vs 7 месяцев назад
My character is above the ground while performing the animation i did bake into pose but still it just starts from there pls help
@SheepYT
@SheepYT 3 года назад
Incredible video !
@KetraGames
@KetraGames 3 года назад
Thank you! 😊
@erfanzandi1362
@erfanzandi1362 Год назад
Great video indeed.
@KetraGames
@KetraGames Год назад
Thank you 😊
@regularshadow7309
@regularshadow7309 3 года назад
awesome thanks
@KetraGames
@KetraGames 3 года назад
👍😊
@noegoleo928
@noegoleo928 2 года назад
Thank u so much for this video!
@KetraGames
@KetraGames 2 года назад
👍😊
@mrearlragnar3187
@mrearlragnar3187 2 года назад
great tutorial, great job
@KetraGames
@KetraGames 2 года назад
Thank you 😊
@farianderson168
@farianderson168 Год назад
is this root motion achievable with a simple cube animated with timeline and without any armature?
@shikhermyv
@shikhermyv Год назад
Thank you!
@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?
@gmangman123
@gmangman123 Год назад
when the export fbx to unit animator says: (none) motion what is this?
@starplatinum3305
@starplatinum3305 11 месяцев назад
How about a jump animation ? And if i wanna change speed i have to speed up the animation ?
@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.
@saniyakhansaniyakhan9076
@saniyakhansaniyakhan9076 8 месяцев назад
My Root Motion is not working , what should I do. PLZ REPLY
@saniyakhansaniyakhan9076
@saniyakhansaniyakhan9076 8 месяцев назад
I SOLVED it by downloading the animation from Mixamo.Before I was using animations from an Asset
@XpressMusic5530
@XpressMusic5530 2 года назад
You helped me a lot!
@KetraGames
@KetraGames 2 года назад
Glad it was useful 😊
@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 😊
@LordCritish
@LordCritish 6 месяцев назад
Eeeeexcellent! And I like the British accent.
@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 - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mNxEetKzc04.html. Hope you find it useful 😊
@saniyakhansaniyakhan9076
@saniyakhansaniyakhan9076 8 месяцев назад
Can you make a video on Joystick. I really want it
@myelinsheathxd
@myelinsheathxd 2 года назад
thx!
@KetraGames
@KetraGames 2 года назад
👍😊
@盛鹤翔
@盛鹤翔 2 года назад
saved me thanks!!!
@KetraGames
@KetraGames 2 года назад
Glad it was useful 😊
@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.
@carlos-sc-048
@carlos-sc-048 9 месяцев назад
Ajudou muito, valeu!
@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?
@fabianobersovszky6987
@fabianobersovszky6987 Год назад
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 :)
@prathameshgaikwad7550
@prathameshgaikwad7550 Год назад
next time please make video on navMesh agents and how to use root motion on them.
@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 😊
@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
@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).
@Montazeran8
@Montazeran8 2 года назад
❤❤❤
@KetraGames
@KetraGames 2 года назад
💗
@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 Год назад
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 😊
@BobTheSkateboard01
@BobTheSkateboard01 2 года назад
Your character isn't an ambiturner
@KetraGames
@KetraGames 2 года назад
Very true 😂
@dudedudedudedude5381
@dudedudedudedude5381 Год назад
Thank you!
@munyunu
@munyunu Год назад
Thank you!
@KetraGames
@KetraGames Год назад
👍😊
Далее
Animation Retargeting (Unity Tutorial)
10:34
Просмотров 50 тыс.
Should You Use Root Motion?
5:23
Просмотров 122 тыс.
Watch This Before Working on a Big Game in Unity
18:44
Просмотров 298 тыс.
How to use Animation Transitions (Unity Tutorial)
9:59