Control Rig #2: Forward Kinematics | Unreal Engine Tutorial

Поделиться
HTML-код
  • Опубликовано: 19 янв 2025

Комментарии • 87

  • @Parisella
    @Parisella 9 месяцев назад +15

    I'm moving our indie pipeline from Maya to working entirely in Unreal and Blender and these tutorials are EVERYTHING!

    • @livinfreestyle6727
      @livinfreestyle6727  9 месяцев назад +3

      Great to hear! We do have a fair few Blenders in discord too that help each other out

  • @kdaflath108
    @kdaflath108 6 месяцев назад +3

    This series is well explained and best put together source of information that I have found on Control Rigs thus far! As a Marketing and advertising specialist, previously working in high tech, I am now transitioning into game dev with a focus on VFX and advanced animation ,and with two videos I am am sincerely blown away with the quality of this content. Thank you! I feel I have finally put together the logic as a whole in my mind and finally figured out how these pieces fit together!

    • @livinfreestyle6727
      @livinfreestyle6727  6 месяцев назад

      Glad this was helpful and thanks for dropping feedback and letting me know!

  • @rustymech7869
    @rustymech7869 3 месяца назад +2

    I really like those little details you don't miss, those shotcuts, tips & tricks, small but useful. Thanks!

  • @Popobawa9000
    @Popobawa9000 8 дней назад

    Thank you so much for this tutorial! You are really good at explaining things!

  • @Miknardis
    @Miknardis 4 месяца назад

    Dude that was friggin awesome! I was having a hard time wrapping my head around control rigs in combination with forward and inverse kinematics. But watching your video, making that control rig from scratch, aswell as the useful construction setup, made it so much easier to see behind the curtains! You explained it really well and for me as a beginner it's very easy to understand! Thank you very much for putting out these kind of videos, very much appreciated!

  • @fscreen78
    @fscreen78 7 месяцев назад +3

    12:26 - widget reflector | Tools > Debug > Widget Reflector

    • @livinfreestyle6727
      @livinfreestyle6727  7 месяцев назад +2

      or ctrl+shft+W thx for helping out!

    • @fscreen78
      @fscreen78 7 месяцев назад +1

      ​@@livinfreestyle6727 Awesome! Thanks for sharing the shortcut!

  • @Sworn973
    @Sworn973 14 дней назад

    Damm, those tutorials of yours are quite well structured, just well done!
    Interesting, basing on your approach, we can actually create the entire control structure based on the bone structure at the construction script, and keep the forward and backward solver dynamic as well, well we do lose the ability to have the right rotation on all the controls. Can be work around with some extra naming and some string works with select node, but its annoying. And for a full procedural, well, one shouldn't be worry about control vistual rotation anyways.
    Get all (bones), then for each, spaw control with the current bone name ending with _ctrl, then get the parent of the bone, get the name, concat with _ctrl, then use the ITEM node to find the parent control, it will return null for root, which works just fine, it is the root so it has no parent anyways, and everything else is parented on the same structure as the bone.
    Can be used for animation sequence, who is using would just have to forget about which face each control is set, since it might be wrong, or the construction scrip actually handles aditional names on each bone to decide between rotation 90º or not.
    Regardless, thanks for the video, gave me some ideas!
    By itself, this already make any rig for simple animations 100x easier since now I don't have to code anything else on rig anymore.

  • @merekht8382
    @merekht8382 10 месяцев назад +4

    Thanks a lot for this. Very useful tutorials!

  • @pasta_pie
    @pasta_pie 3 месяца назад

    Seeing forward and inverse kinematics after finishing my robotics classes with no linear algebra needed is SO nice 😂
    Thanks for the tutorial!!

  • @michaelray1320
    @michaelray1320 9 месяцев назад +1

    For anyone struggling at the 18:49 mark notice that he was able to keep the twist bones out of the rig because of the hierarchy. Many characters can have these twist bones parented to the calf, lower arm, thigh etc and if they are apart of the hierarchy they need to be included in the control rig or when you hook it up to the forward solve your controls will go crazy and all over the place.

    • @livinfreestyle6727
      @livinfreestyle6727  9 месяцев назад

      Thanks for posting the tip. I wonder if this is cuz they are part of the pose process? I will have to look into that. Either way, appreciate the share

    • @zehailiu7825
      @zehailiu7825 7 месяцев назад +1

      This turned out true for me. I'm using the mannequin skeleton exported out to blender, then reimported back into UE with my own character mesh.
      When I mirror my twist bones would fly off, breaking the mesh. But if I just make controls for the twist bones and mirror them, choosing X for mirror axis and None for flip, then they work just fine.

  • @chagaze7199
    @chagaze7199 5 месяцев назад +1

    up up up up up! Super good tuto content!!

  • @Maxwell_Kenway
    @Maxwell_Kenway 11 месяцев назад +1

    Hi, always happy to share some Tipps😊. 27:55 regarding the mirror, don’t use the flip Axis. You see the results are twisted controls. You only want to mirror the X Axis so set the second option to none. Can confirm this works.
    A second Tipp is as you say, we can copy the code to all other Riggs. When you go in the my BP tab below the viewport you can create functions. Park the code in a function, give it a name like „connect bones to -ctrl“ and make it public. Then when you rightclick in any rig graph you can search for it and apply. No need to search for the rig you created the code in anymore.

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад +1

      Awesome, as always. Thanks for chiming in. I will give the mirror a shot and as far as funcitons, that is the plan, once we have the building blocks for a rig the plan was to convert them into functions etc as kind of a wrap up. Planning on keeping it basic, FK, IK, some switch and spine options and then have a nice clean simple rig that we can "funcitonify" But most important THANK YOU for sharing!

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад +1

      hmmmm...I was pretty sure I had tried that, so went back and gave it another shot. No luck with the drone, BUT it does work on the dragon. I'll have to figure out the difference

    • @Maxwell_Kenway
      @Maxwell_Kenway 11 месяцев назад

      @@livinfreestyle6727 🤔 maybe the orientation of your bones differ to much. Means maybe the bones direction is running in a different direction to the left ones, like main axis is Y instead of X, or Z goes down instead of up, the mirror might not work correctly. But then flipping the axis should fix the issue 🤔🤔🤔 so I would check the orientation of the bones first. Hope this helps to find the issue 🙂

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад +1

      yeah, I haven't looked yet (wrapping the next video), but my guess is that the drone is Y down and the dragon is X....unreal sometimes get funky if it's not X. I'll report back in a bit

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад +3

      ok, crazy enough I went back and it was working. It turns out BOTH had to be X. It's super not what you would htink in a two axis situation, but it seems that the second axis flips the shape properly. Just had to try a few more combos I guess

  • @wook22
    @wook22 11 месяцев назад

    Great job Mr. F!

  • @WestinsWorldStudio
    @WestinsWorldStudio 11 месяцев назад +1

    Top tier video! This is making a lot of sense now - thank you!
    Where do retarget tools fit into this mix or pipeline?
    Hopefully someone can find an easier mirror workaround.
    Thanks again for starting with foundational concepts. Really helps

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад +1

      Retargeting has a lot of potential meanings. Unreal engine runtime retargeting (although not sure that's a tool), the actual IK retargeter and then source side asset retargeting tools, skeleton retargeting options, etc....but we can take a look at some of those . Glad the videos help

    • @WestinsWorldStudio
      @WestinsWorldStudio 11 месяцев назад +1

      @@livinfreestyle6727 thank you! I’ve only heard of IK retargeter up to this point. I also discovered a control rig addon from Epic at the UE marketplace that I’ll experiment with. Thanks again!

  • @eivenhoe
    @eivenhoe 3 месяца назад

    this control rig base is genius!

  • @JAYROUTHIER26
    @JAYROUTHIER26 3 месяца назад

    That construction script is very handy but the only issue I foresee with it is in cases where you want your controller to be offset from the current bone position. This construction script would apply to all bones and you would either have to not do that or add in some exception which I think could become a nightmare really fast.

  • @sankarb4598
    @sankarb4598 10 месяцев назад +1

    Great video. Definitively learned Useful things.🖤
    I thought creating 'Item array' will be the fastest one.

  • @cortexvortex9504
    @cortexvortex9504 4 месяца назад

    I am relatively new to unreal engine having previously used blender. In blender there was an option to preserve the volume of a model. as far as I know, this option does not exist in Unreal engine 5. when I rotate the arm for example, the mesh shrinks into nothing at the midway point. I don't know if this gets covered later in this series but do you know how to stop this from happening? thank you.

    • @livinfreestyle6727
      @livinfreestyle6727  4 месяца назад +1

      Im pretty sure Blender does this with dual quaternion skinning. I don't believe eunreal has that yet and also it does a pretty good job but ultimately we end up using correctives either way. Correctives is something we do need to cover.

  • @stever73
    @stever73 2 месяца назад

    Super noob in Unreal here. Great video so far, but my joins are not shown in the perspective window after I initially create the FK rig. The list is there and they show in green when selected from the list, but the full skeleton isn't showing. What am I missing?

    • @livinfreestyle6727
      @livinfreestyle6727  2 месяца назад

      From the view menu, choose character, all bones. See if that helps

  • @lukeboechler
    @lukeboechler 7 месяцев назад

    When I connect everything up in the forward solve graph the "Get Transform - Bone" node and the "Set Transform - Bone" node both throw errors. The error reads the same on both nodes and says "Array Index (x) out of bounds (count 0)." The "x" represents any number from 1-6. From what I can tell, there is no reason that it wouldn't see the array of controls from the "get all" node. Please let me know what I'm missing! Thanks.

    • @livinfreestyle6727
      @livinfreestyle6727  7 месяцев назад

      That's very hard to troubleshoot in a RUclips comment. I would recommend joining the discord and putting your blueprint in the questions forum so we can see what might be going on.

  • @mpattym
    @mpattym 3 месяца назад

    I find it interesting comparing IK and FK to real life. I think IK is more representative of what I do in real life. For example, if my hand is resting on the table and I lean to the sides, my hands for the most part stay where they are. It's like my brain is automatically trying to maintain their position in the world.
    My partner on the other hand has poor spacial awareness so maybe she runs on FK lol.
    Anyways, thanks for the video. :)

    • @livinfreestyle6727
      @livinfreestyle6727  3 месяца назад

      That is hilarious. There are pros and cons to both IK and FK and both are helpful in different situations. Which is why its great that we can choose. Thx for the watch and thoughts

  • @mahazyaar
    @mahazyaar 7 месяцев назад

    Excellent job!
    learned a ton from it.
    Can you tell me where you learned all of this? Did you get a degree or take paid classes?

    • @livinfreestyle6727
      @livinfreestyle6727  7 месяцев назад +2

      I guess you could say I learned it on the job or along the way. My degree was not in art and I can't really think of any paid classes, but various tutorials throughout time as well as the people I have worked with who were gracious enough to share their knowledge

  • @和一木
    @和一木 8 месяцев назад

    Great video, solved a lot of my doubts

  • @misterbean967
    @misterbean967 8 месяцев назад

    I can't rotate the bones using Gizmo, only in 'Details > Curent'. Do you perhaps know why this doesn't work?

    • @livinfreestyle6727
      @livinfreestyle6727  8 месяцев назад

      The only time I've had trouble with this is if I was actually driving the bone and didn't realize it. So do you ahve a control or something that is driving that bone/control?

    • @misterbean967
      @misterbean967 8 месяцев назад

      @@livinfreestyle6727 I think I have solved the problem. I had to use Shift+P to remove the controller from the skeleton hierarchy, and now I can rotate the bones using Gizmo.

    • @livinfreestyle6727
      @livinfreestyle6727  8 месяцев назад

      @@misterbean967 cool!

  • @Soppybobs
    @Soppybobs 6 месяцев назад

    Great video, Having unique issues with my custom skeletal mesh i made with a blender model i sculpted. Only the root_ctrl actually moves the skeleton but any specific ctrl doesn't actually move the bones.

    • @livinfreestyle6727
      @livinfreestyle6727  6 месяцев назад

      That sounds super suspicious. Even if your joints were setup weird I’d still expect the controls to at least move

    • @Soppybobs
      @Soppybobs 6 месяцев назад

      @@livinfreestyle6727 update, they now move. But they are scrampled to all hell lol. I have a suspicion that its my bone orientation...

    • @Soppybobs
      @Soppybobs 6 месяцев назад

      @@livinfreestyle6727 Ive joined the discord and posted in the forum-questions with some pictures.

  • @fernandabermejo
    @fernandabermejo 5 месяцев назад

    SO GOOD!🪄🪡Thank you!

  • @chomnansaedan4788
    @chomnansaedan4788 9 месяцев назад

    This is fantastic!!!! On a side note, is there any benefit to do all this in C++?

    • @livinfreestyle6727
      @livinfreestyle6727  9 месяцев назад

      C++ will generally execute faster, but probably something you only have to worry about depending where your bottlenecks are. (for example if it was always that way then everything would get converted and nobody does that, we all still have blueprints)

  • @christopherarendt3531
    @christopherarendt3531 8 месяцев назад

    Thank you. I wonder now, how do I get the controls to follow the physics asset, so that animators can not accidentally pose incorrectly.

    • @livinfreestyle6727
      @livinfreestyle6727  8 месяцев назад

      do you mean like the classic overlap tool setup? WHere you have a control that the udnerlyijng is trying to match but the animator can also pose to help "shape" the simulation? or do you actually mean have the physics asset drive the control rig initial pose

  • @Crovea
    @Crovea 5 месяцев назад

    You mention "the dragon video" but I can't for the life of me find it, do you have a link?
    I'm rigging a snake and am looking for resources for something not quite as humanoid

    • @livinfreestyle6727
      @livinfreestyle6727  5 месяцев назад +1

      I believe this is reference to the pets tutorial, but that is just a straight FK chain.
      ruclips.net/user/livevGqXI1r2dFU?feature=share

  • @ICalyptos
    @ICalyptos 11 месяцев назад +1

    Hey, could you help me with a problem i'm having with control rig? i made a short video on youtube, the video is in German. but i think you can understand what the problem might be, i can't find a solution for weeks.. and seeing how much knowledge you have, i hope you can help me with a comment under my video or at least point me in the right direction.
    Otherwise if you don't understand the problem because of the language I would make another video in English :)

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад

      you can reach me through the discord and I"d be happy to check it out. Und vieleicht mein Deutsch gut genug ist das ich das Problem verstehen kann!!

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад

      actually, I just saw the video on your link. I'll check it out tonight

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад

      OK, I'm not positive, BUT you can see that your upper wing has a different orientation than the lower wing. One joint has 'Y' is back toward the tail and the other 'Y' is toward the head. Essentially depending on the solver its important that upper and lower arm are oriented to the same plane! I actually just covered this in the IK video. It drops on Sunday.

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад

      For anyone interested we were able to figure this out and it does in fact appear that the IK solver wants the two joints to be properly aligned in rotation

  • @hotsauce7124
    @hotsauce7124 11 месяцев назад

    This is cool, are there plans to cover how to make pistons with Control Rig and driven controls in Control Rig?

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад +1

      We could do pistons and yes to driven controls (this could have multiple definitions and I think we are going to go over all the ones you might be talking about)

    • @hotsauce7124
      @hotsauce7124 11 месяцев назад

      Looking forward to that Video. Thank you.@@livinfreestyle6727

  • @SuperMontana2008
    @SuperMontana2008 11 месяцев назад

    Great channel. Can you do a series on how to rig game characters for unreal please?

    • @ryanjdev87
      @ryanjdev87 11 месяцев назад +1

      Google accurig > install > import >rig > export to fbx> import to unreal and ur done

    • @livinfreestyle6727
      @livinfreestyle6727  11 месяцев назад +1

      Have you checked out the live section yet? Depending on what about it you are looking for these might be helpful:
      ruclips.net/user/livetfcBFEWzhkE?feature=share
      ruclips.net/user/livevGqXI1r2dFU?feature=share
      ruclips.net/user/livejMUs08vuEqg?feature=share

    • @SuperMontana2008
      @SuperMontana2008 11 месяцев назад

      @@ryanjdev87 accurig has no face rig options

    • @ryanjdev87
      @ryanjdev87 11 месяцев назад

      ​@SuperMontana2008 ya that's separate in iclone I think

  • @13Septem13
    @13Septem13 6 месяцев назад

    good explanations

  • @Dnf_Jeff
    @Dnf_Jeff 7 месяцев назад

    Its intimidating. But im glad I stuck around.

  • @yuanhangqian
    @yuanhangqian 5 месяцев назад

    非常感谢