Root Motion Basics | Adv. Anim Application [UE4/UE5]

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 118

  • @sagdutt
    @sagdutt 3 роки тому +36

    Thanks for that awesome tutorial! I tried to make a jump animation based on this and I discovered a pretty weird issue in UE4 so I thought I'd mention it in case it helps someone.
    Apparently, UE4 ignores all root motion along the Z-axis unless the character's movement mode is set to 'Flying'.
    So to get it to work, on keypress, I had to set the mode to 'Flying', play the montage, wait for the montage to finish playing (delay) and then set the movement mode back to 'Walking'.
    Have you ever faced this?

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +20

      Ah very good point - It's not that the engine ignores Z axis movement, it's that Gravity always applies haha. So when your character is moving up, they're also... moving down. I ran into this issue with Climbing animations and yes, setting the movement mode to Flying temporarily is the best solution!

    • @7ossamMr2011
      @7ossamMr2011 Рік тому

      @@PrismaticaDev I tried making gravity scale 0 while movement mode is walking and didn't work, I think setting it to flying is a must

  • @asdfman7007
    @asdfman7007 Рік тому +4

    This series should be part of the official UE docs lol, I've learned more watching these tonight than I have in months of reading UE docs lol. Cheers mate!

  • @r1zzith
    @r1zzith Рік тому +2

    I just realised. This channel has EVERYTHING I need! Why didn't UA-cam recommend me this earlier. Hats off PrismaticaDev! 🍻

  • @CupCakeUnleashed
    @CupCakeUnleashed 3 роки тому +4

    This is one of the best rootmotion tutorials I've seen.
    No matter how hard I try I can never get a good Root motion working.

  • @DawnBriarDev
    @DawnBriarDev Рік тому

    Your cat provided an excellent example of what an attack animation is exactly when prompted to do so.
    Good kitty.

  • @choco5947
    @choco5947 9 місяців тому +1

    loved this video thank you so much, you explained root motion so well and allowed us to apply it so easily, you saved a bunch of us struggling!

  • @johnmannp
    @johnmannp 3 роки тому +9

    Thank you so much for putting your time into these awesome tutorials!

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +3

      No worries John :) Thanks for all the support as always!

  • @Fokkusu
    @Fokkusu 3 роки тому +3

    ooh this is really nice, very useful too for those classic parkour animations, thanks a lot for the quality content ^^

    • @Fokkusu
      @Fokkusu 3 роки тому

      also first lol

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      Haha absolutely! I use it for my climbing/vaulting anims :)

  • @austinmcdaniel2189
    @austinmcdaniel2189 3 роки тому +6

    I’m having a really hard time setting up my lighting for my terrain. So far it looks super super bright and I’m just trying to go for the flat look that you’re world gives but it looks so so bright.

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +4

      I'll do a little breakdown of my lighting setup early next week, hopefully that can help people get a cleaner stylized look :)

  • @bretcanny2886
    @bretcanny2886 2 роки тому +1

    Your tutorial popped up in my recommendations. I heard the RS music and now can't click away.

  • @Hajiiile2002
    @Hajiiile2002 3 роки тому +1

    I can’t wait for this game to come out awesome work !!!

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому

      Thanks Twister :) Should have a very early playable demo out some time soon! (tm)

  • @sirsquelching2041
    @sirsquelching2041 Рік тому

    You are amazing, Charlie

  • @babytime1
    @babytime1 2 роки тому +2

    woah, ur not boring the shit outta me, hollup, gotta make sure im still on about Ue4

  • @CupCakeUnleashed
    @CupCakeUnleashed 2 роки тому +1

    I HAVE RETURNED TO LEARN MORE

  • @Hato1992
    @Hato1992 Рік тому

    I spent last week looking how I exported animations to unreal, and couldn't find it. I had blender file with mannequin and had no idea what I done with it. I had value idea that I used some kind of plugin, but couldn't remember name of it. Thanks to you I solved problem.

  • @lorryburger8165
    @lorryburger8165 3 роки тому +1

    Thanks for getting me started in animation! 👍

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      You're very welcome!! Hope you're having a tonne of fun :)

  • @TittleLeej
    @TittleLeej 2 роки тому +1

    Wow, amazing tutorials, thank you for all the work!!!

  • @HypeLozerInc
    @HypeLozerInc 3 роки тому

    How did i JUST now find this channel!?!

  • @Legend64Project
    @Legend64Project 2 роки тому

    How did you export the rig from Blender to Unreal without having that stupid bug where it creates a new root bone? Renaming the rig to "armature" will stop Unreal from creating a new root bone, but then the animations will be shrunk down. Am I missing something here?

    • @Legend64Project
      @Legend64Project 2 роки тому

      I was missing something. You need to set the scale in Blender to 0.01 otherwise your animations will be tiny.

  • @yavuzyener3D
    @yavuzyener3D 3 роки тому +4

    thank you so much for the amazing tutorials! I always wanted to get deeper with UE4's animation system. Unfortunately, it is very difficult to read what is on your screen and I get dizzy trying to keep up. I think your screen resolution might be too high for the recorder to capture. Can you please increase the size of the icons/text in your future videos? Best wishes.

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      Hey Yavuz! Unfortunately I don't think UE4 can resize it's UI :( I could potentially change my screen resolution but I would have to change all of my input settings when I change from recording to streaming.
      I've started recording the screen at 2k resolution so I can crop in whenever there is any vital info in the UI, so rest assured if I'm ever talking about important settings I'll zoom in on them :)

  • @Utopia2023Game2
    @Utopia2023Game2 2 місяці тому

    that was i looking for thx

  • @DoraKage
    @DoraKage Рік тому +1

    Noob learner here: question.
    What makes root motion important? Where is it best applied?
    For example: if I had a perfect walk loop cycle - would it be ideal to have the root animated? Or is it better to keep the root static and have the characters' movement driven by the controller input? I want to understand when to and when not to use root motion.
    Thanks!

    • @PrismaticaDev
      @PrismaticaDev  Рік тому +1

      The main difference is that Root motion dictates the movement of the character, whereas non-root motion is designed to "follow" what the character is doing. So in the case of walking and running around, you may want to have very responsive and accurate movement without worrying about it looking 100% perfect (call of duty) versus something where immersion and detail are more important (Red Dead Redemption 2)

    • @DoraKage
      @DoraKage Рік тому

      @@PrismaticaDev thanks for the quick reply...
      so root motion = more animation accurate movement?
      vs non root motion = means try to align the animation's timing and speed to the character's global movement?
      (this is what im kind of understanding of the situation so far) 🤔

  • @rikman81
    @rikman81 3 роки тому +4

    Nice video!
    How would you say Mr Mannequin compares to Control Rig for animating?
    How about compared to the official Blender to Unreal and Rigify addons for general use?
    Pros/Cons of each, any reasons you use the workflow you do etc?
    Subbed!

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      Hey hey! I haven't actually tried Control Rig yet - any recommendations of videos to learn from?
      As for Mr Mannequin/Blender, I just really love the rig itself and how easy it is to export meshes/animations, and it also eliminates some back and forth (for example, a particular animation might cause some clothes to clip and look janky, so I can fix them whilst in the middle of an animation etc)

  • @CosmicComputer
    @CosmicComputer 3 роки тому +1

    PRISMATICAL!

  • @dcad6934
    @dcad6934 3 роки тому

    Love it, hope to learn how to make animations for my game from your tutorials!

  • @smcfadden1992
    @smcfadden1992 10 місяців тому

    so i have a pretty simple character like no fingers no toes brought in through mixamo, and i dont think i have a root bone because when i enable any root motion my character is just stuck doing a weird version of the animations lol, can i add a root bone in unreal without messing up all my animations that do work?

  • @The_Industry
    @The_Industry 2 роки тому +1

    Hi, I've been working on setting up vaulting in UE5, and it's the first point in development where I've had to use root motion, but whenever the animation starts, no matter where I am, the character teleports to the world origins. I thought it was something off with my scripting, but having spent the last two hours working out the precise effect of every single node, I'm no longer convinced, and kind of at a loss.
    Would appreciate any help.
    Cheers.

  • @boundlessunrealengine9467
    @boundlessunrealengine9467 10 місяців тому

    Hi. When I do root animation in blender 3.5, in UE5 the character does not move along the Z axis. What could be the problem?

  • @xJustForKiicks
    @xJustForKiicks 3 роки тому +2

    I gave up on my game project but still love these videos lol

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому

      Haha maybe you just need a break, or maybe a smaller scope! Never give up! :)

    • @xJustForKiicks
      @xJustForKiicks 3 роки тому +1

      @@PrismaticaDev definitely needed a smaller scope. What started small blew up into a desire to make what was basically a AAA open world rpg by myself with no experience (no wonder I gave up!). If I ever come back to it I will certainly be watching all your video again

    • @infinithoughts4002
      @infinithoughts4002 3 роки тому

      @@xJustForKiicks I'm interested - what were you creating in detail? Btw breaks are important xD Burn out is real

    • @xJustForKiicks
      @xJustForKiicks 3 роки тому

      @@infinithoughts4002 I wanted to create an rpg game that focused on the players magical abilities which I based off of the primalist in Last Epoch. Earth, lightning, and cold magic. I wanted these effects to "come from" the environment, like having the earth magic effects have similar materials to the terrain around them, and be unusable in areas without earth. Lightning would actually come from the clouds above, and would only be usable in stormy weather (the player could create this weather if they were powerful), cold effects were based on the temperature. I got caught up and burnt out in created fluid character movement, animation, and controls before I even got to developing the magic system.

    • @infinithoughts4002
      @infinithoughts4002 3 роки тому

      @@xJustForKiicks I had a similar idea for my elemental system - but ultimately my project focus on a entirely unrestricted dual-wield weapon system via dual sword/mace , mace/mace or ultra greatsword/mace with action combat xD
      If you're willing to work together in the future - your elemental ideas sound interesting =)

  • @SeanMaxhell
    @SeanMaxhell 10 місяців тому

    Is there any way to root motion a floating pawn too?

  • @moodie4884
    @moodie4884 2 роки тому +1

    Hi, how did you get it so blender has the mannequin?

  • @spectrablaze3760
    @spectrablaze3760 Рік тому

    4:45 mine doesn't though 🙄🙄🙄

  • @l3nn13
    @l3nn13 3 роки тому

    How to get refrence of an AnimBluePrint in a normal one?, like in ur first Adv. Anim Tut only vice versa?

  • @davidjericho4815
    @davidjericho4815 2 роки тому +1

    What song is playing in the background? I need it in my playlist.

    • @PrismaticaDev
      @PrismaticaDev  2 роки тому

      It's just music from the Oldschool Runescape soundtrack :)

  • @Restart-Gaming
    @Restart-Gaming 3 роки тому +1

    I have a very challenging question I have a moose that has both IP animation and RM that I bought online only thing is for unreal the FBX RM does not works its there but none working this is what the seller told me ( Hello! Unfortunately, to work in UE4, you need to redo the animation of the root movement in the original Blender3D file There is no other way to fix it.) would any one know how to fix? would be very helpful. would like to fix myself not sure where to start.

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому

      Hmmmm... So does the skeleton have a Root bone? There may be ways to "add" the root bone in afterwards to the animation using Curves by swapping the X/Y location and Z rotation of the Pelvis to the new Root bone (which the Pelvis is parented to)

    • @Restart-Gaming
      @Restart-Gaming 3 роки тому

      @@PrismaticaDev From the skeleton tree starting at the top it has Arm_Moose, Base_bone, root_bone all in the same spot on the moose?

  • @alekjwrgnwekfgn
    @alekjwrgnwekfgn 3 роки тому

    Hey dude. Are you implementing Advanced Locomotion System v4 into your game. I’d love to see some videos on that.

  • @dakkon9798
    @dakkon9798 3 роки тому

    Have you ever given Cascadeur a go? Wonder what you think.

  • @Mrshiinigamii
    @Mrshiinigamii 3 роки тому +2

    Appreciate the tutorial! You make it entertaining to watch and I love it.
    One question. When I check root motion in UE4 for the animation, the animation plays in place ingame... Any idea of what I could be missing?

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому

      Hmmmm, are you 100% sure the Root is moving? Maybe double check in the anim preview by selecting the root bone and highlighting it. Does the animation move in world space when it isn’t ticked?

    • @Mrshiinigamii
      @Mrshiinigamii 3 роки тому +1

      @@PrismaticaDev Yup, root bone moves in the preview when root motion is not checked. Might it be related with the animBP settings when calling play anim montage?

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      @@Mrshiinigamii ah yeah there might be a setting somewhere about Root Motion on montages

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      I’ll have a search in the morning when I’m at my computer :)

    • @Mrshiinigamii
      @Mrshiinigamii 3 роки тому

      @@PrismaticaDev Thanks!

  • @b-wall7527
    @b-wall7527 3 роки тому +1

    Hey Charlie. I'm having an issue with my root motion animation....I've done everything you've done and hooked it up with the #1 key instead....when I press it in game it's actually not playing the anima montage, but instead it's playing my characters walk cycle as if that was the animation in the montage....it is also moving the character forward properly, just not playing the correct animation. (There is only 1 montage in my entire peoject)
    Could you help me with this please

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому

      Make sure there is a Slot (DefaultSlot) in your Animation graph - it sounds like it's "playing" the montage but not animating it because there isn't anywhere in the graph to play it

    • @b-wall7527
      @b-wall7527 3 роки тому

      @@PrismaticaDev Thank yiu very much for your reoly Charlie. Although I'm confused on where this default slot would go inside the anim graph...would it be in the state machine and then adding a new state with the animation plugged inside?

  • @navneet2649
    @navneet2649 2 роки тому

    Can somebody pls explain Root Motion (in UE) to me or provide link to a youtube video or article explaining abt basics of Root Motion! (like what is basically Root Motion, why is it needed, when it used and when not etc) 🙏Not able to find one.

  • @phoenixthompson1561
    @phoenixthompson1561 3 роки тому +1

    Runescape music in the background nice

    • @phoenixthompson1561
      @phoenixthompson1561 3 роки тому +1

      Oh cuz you're playing it...derp lmao

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому

      @@phoenixthompson1561 Haha I use the OSRS soundtrack in all of my videos, although I am always playing it anyway

  • @josephenriquez579
    @josephenriquez579 2 роки тому

    When I add my animation (two steps like the megadab) the character moves forward on the first step but stays in place during the second, do you know why this might be happening?
    Great tutorial btw!

  • @fracturedreality88
    @fracturedreality88 2 роки тому

    root motion tutorial on phat dab in the middle animation...lol luv it.

  • @DenisZaharenko
    @DenisZaharenko 2 роки тому

    Can you show how you imported the character like that into blender?

  • @steliosstavropoulos499
    @steliosstavropoulos499 3 роки тому +1

    Hey Charlie I just want to ask you if you took any styalized environment course or something like that because I would like to buy one but there are so many. Thanks!

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +3

      Hey Stelios! I didn't take any course specifically, I guess my style just comes from setting some limitations and setting myself some rules to create a consistent style. I think knowing a bit about colour theory is a great start especially for stylized scenes, since we're always using solid colours and not very noisy textures. I always see a lot of people saturating their colours waaaay too much haha. So unfortunately I don't have a specific answer for you other than to make sure your art fundamentals are solid :)

    • @steliosstavropoulos499
      @steliosstavropoulos499 3 роки тому +1

      @@PrismaticaDev Wow this is incredible that you learned it all by yourself!!! I have no idea how to create normal maps and bake hight maps on them etc. When i finish my current game i will start searching and learning thank you very much!

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      @@steliosstavropoulos499 you should definitely check out Quixel Mixer if you're using Unreal - I make a tonne of simple textures with it, and it's great because it does the Normals/Heightmap for you!

  • @Seignil
    @Seignil 3 роки тому +1

    Whats that little thing in the right corner which playes rune scape?

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому

      That's my 3rd monitor where I always play Runescape hahaha, I always forget to hide it when I record videos. It's always up when I'm streaming GameDev

    • @Seignil
      @Seignil 3 роки тому +1

      @@PrismaticaDev I kinda like it. keeps the screen rather buisy and as someone whos not even gamedeving it can keep in sections where i don't get shit my attantion span high ... but thats not that often :D

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому

      @@Seignil Haha unfortunately I'm just fishing 99% of the time lately. CONTENT! Hahaha

    • @Seignil
      @Seignil 3 роки тому +1

      @@PrismaticaDev Fishing is always dangerous in games ... you get to a pond and boom three hours later you got a shoe and twelf small fish -.-

  • @PiterTraceurFA
    @PiterTraceurFA 2 роки тому

    Ok so I guess using rigify for my rig was a bad idea because the root bone moves all the IK bones...

  • @t3hpwninat0r
    @t3hpwninat0r 3 роки тому +1

    TIL what Root Motion means. Thank you so much!

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      Haha no worries! It's definitely one of those words that gets tossed around a lot, hopefully this was a good enough explainer :)

  • @silverblank1139
    @silverblank1139 2 роки тому

    How do you add a mannequin template, i don't have it. Is it a plugin?

  • @juezna
    @juezna 2 роки тому

    anyone knows how I can apply root motion using control rig inside unreal?

  • @n1lknarf
    @n1lknarf 3 роки тому

    Sensei, question: can I rotate the root motion, or animate it diagonally?
    I've tried doing so but the animations don't translate correctly in UE4. If I disable "root motion" in the animation asset in UE4 it plays correctly, so I'm not sure why it wouldn't play fine with the root motion option enabled.
    I have a lock on to target system, and I thought that was the problem, but if I disable it the animation problem persists. I'm confused. I'm not sure if it's an animation problem or a code problem.
    Any advice is welcomed :D

    • @Danreit
      @Danreit 2 роки тому

      DId you solve this?

  • @theshadowgamedev61
    @theshadowgamedev61 2 роки тому +1

    RuneScape music ar beggining ... Aw... Só manu memories

  • @Danastionify
    @Danastionify 3 роки тому

    the cat'' i love it hahaha

  • @youth20003
    @youth20003 3 роки тому +1

    yoooo mega dab 😳😳🚫🧢 what a man

  • @markezzg
    @markezzg 2 роки тому

    👍 Nice

  • @Fighter05
    @Fighter05 2 роки тому

    Mr. Mannequin tools are fucking insane, if you, you being myself and anyone who uses them for free, if you make money off your game you owe him some money. its legit insane his tools are free.

  • @senmemati
    @senmemati 3 роки тому +1

    can we purchase the game pls?

    • @PrismaticaDev
      @PrismaticaDev  3 роки тому +1

      Haha not for quite a while unfortunately :P But you'll definitely hear about it when you can!

  • @Joel-bg3cf
    @Joel-bg3cf 2 роки тому

    Is root motion...better?

    • @PrismaticaDev
      @PrismaticaDev  2 роки тому +1

      It’s just a tool that is useful in some situations :)

  • @cssc9313
    @cssc9313 2 роки тому

    Instant like and subscribe for playing runescape

  • @PiterTraceurFA
    @PiterTraceurFA 2 роки тому

    ffs I can't find any source that would actually explain what those damn slots are, everyone uses them, nobody explains what they are REEEEEEEEEEEEEE

    • @PrismaticaDev
      @PrismaticaDev  2 роки тому

      Do you mean Animation Slots? I cover them in my Anim Montage video :)

  • @DawnBriarDev
    @DawnBriarDev Рік тому

    I'm going to ask a question, but it may be misconstrued as offensive when that's not my intent. So I'll ask it in reply to this comment so it has to be specifically sought to be seen:

    • @DawnBriarDev
      @DawnBriarDev Рік тому

      Why did you decide to use mister mannequin?
      I ask because, when dealing with workflow compatibility problems, finding the path of least resistance often leads to further limitations down the line. You are restricted to the conventions as they are, and limited by what another person will provide, update or expand.
      In most areas of gamedev, I don't feel this as much as with rigging: The animations I want to use, the types of kinematics I feel are more comfortable to program and animate.. All of these led to me deciding to make custom rigs and retarget source animations as needed, so that I would have higher confidence in my ability to produce consistently down the line.
      Did your team decide on using a preset workflow due to the animator's experience, preferences, or for some other reason? I'm merely seeking other people's perspectives, as animation is one of those workflows I have less experience with, and yet I've always felt confident in my decisions to make my own rigs and design my own processes to suit what needs I expect to have.

    • @PrismaticaDev
      @PrismaticaDev  Рік тому +1

      @@DawnBriarDev long story short - I'm a solo dev and it's usually better to make a decision and get something done than to spend ages researching it. At the time, Mr Mannequin ticked all the boxes for my needs, for both rigging and animation. Recently, I've moved to Cascadeur for all my animation stuff, and haven't had any issues transitioning.

    • @DawnBriarDev
      @DawnBriarDev Рік тому

      @@PrismaticaDev Like I said, was just curious. I'm solo too so I understand. I guess I was just too worried about animation to leave well enough alone. I tend to go overboard most on the things I expect to be hardest, and animation is a top 2 contender for things I've had a heck of a time with (the other is UI design.)

    • @PrismaticaDev
      @PrismaticaDev  Рік тому

      @@DawnBriarDev I totally feel you on UI haha. I've opted to use very minimal UI for my project :P
      Animation definitely is scary, especially when you're thinking about it long-term

    • @DawnBriarDev
      @DawnBriarDev Рік тому

      ​@@PrismaticaDev If you come up with a good hack for finding a UI style, lemme know. I can do the same if I find one (Only tip I have... Material Parameter Collections for ALL, and I mean ALL UI colors. From text to headers to etc, for those time when I can't decide what color things should be.)

  • @buddelexperte5956
    @buddelexperte5956 3 роки тому +1

    soooo... we are gonna do it thaaat way.. ... no that looks scuffed as f
    ok