How to build a Character Rig and State Machine for Procedural Animation | Unity Tutorial

Learn how to rig a character and start programming a state machine for procedural animation in Unity! This tutorial takes a deep dive into two of the constraints of the animation rigging packages and teaches you how to apply them to your own game characters for procedural animation. We'll also start the programming a state machine for procedural environment interactions using our reusable state manager implementation!
SUPPORT THE CHANNEL AND GET EXCLUSIVE PERKS:
💛 / iheartgamedev (Project Files Available)
❤️ kzread.info...
WANT MORE?
✦ Missed out on the last episode?
• How to Move Characters...
✦ Like the vid? Please consider Subscribing!
bit.ly/2YdIb6j
✅ Check out the full procedural animation series: • Animation Rigging Package
SOCIAL:
✦ Discord
/ discord
✦ Twitter
/ iheartgamedev
►TIMESTAMPS:
Intro: 0:00
Building a character rig: 0:20
First constraint: 0:49
Second constraint: 4:19
Environment Interaction State Machine: 6:25
Safeguarding with Assertions: 10:08
Question to the community: 11:54
#unity3d #proceduralanimation #gamedev

Пікірлер: 84

  • @crummymudd8625
    @crummymudd86255 ай бұрын

    I spent a few months trying to use constraints from some other random video and searching through Unity docs. Your videos are awesome because they go from nothing to something in an organized, step-be-step approach, with detailed explanations for other things that might vary ('your model might need different offsets', 'the CharacterController will work too'). 13 minutes -- now it all makes sense. Enums as a bonus! Like your enthusiasm and positive attitude, very inspiring. What I'd like to see -- if you click one of the blue bone renders, how do you get the Hierarchy to expand to it? I have to type in the bone name, one click would be faster

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    This is my favorite comment so far. Thank you! The amount of time that goes into editing is worth it for compliments like this.

  • @PixelGM

    @PixelGM

    5 ай бұрын

    I agree with you! He's the best! 👌👌❤️

  • @Hoptronics
    @Hoptronics11 күн бұрын

    Using preview has been a godsend.. what a great tip.

  • @ajmckennan1663
    @ajmckennan16635 ай бұрын

    Actually the smartest and best Dev content on KZread! Two months was way too long for another one of these!

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Thank you for the kindness!

  • @iHeartGameDev
    @iHeartGameDev5 ай бұрын

    ✨ More procedural animation content is finally here! Let's dive into animation rigging in Unity and set up the constraints necessary for environment interactions! What procedural animation projects would you want to see in the future? Let me know in a comment below! The project files for anyone who wants to get hands on the project without building the whole thing yourself: www.patreon.com/posts/project-files-in-93861078 Smash that like button if you can't wait to learn! Cheers!🍻 -Nicky

  • @kenan-nynor
    @kenan-nynor3 ай бұрын

    I was already hyped for this video as soon as I saw the community post, but I didn't know it would be this easy :p

  • @lolopupka
    @lolopupka5 ай бұрын

    Awesome video! I'm an asset store publisher, and I made a procedural animation package, and I still found a lot of interesting information in your videos!

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Awesome! Thank you loopupka! What package did you make??

  • @seesooner3112
    @seesooner31125 ай бұрын

    Nice bro i was looking for it and suddenly you posted this video great work❤

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    I love to hear that! Thank you for the support! :D

  • @rorysullivan2769
    @rorysullivan27692 ай бұрын

    Very helpful! Feel like after watching this I actually understand how its working and its not just a tutorial where you copy and paste.

  • @__--_--_-----
    @__--_--_-----5 ай бұрын

    Another absolute banger, thanks for setting the standards so high for dev tutorials!

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Thanks for such kind words! Means a lot! -Nicky

  • @edistefi3925
    @edistefi39255 ай бұрын

    We waited so long for this video, please upload more about procedural animations, our dev team is struggling

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    What other procedural animation projects would you be interested in seeing?

  • @edistefi3925

    @edistefi3925

    5 ай бұрын

    @@iHeartGameDev for example, climbing a ladder, punching in the direction where the character is looking

  • @DeadHandRed
    @DeadHandRed5 ай бұрын

    Nice one, looking foward to it, ta

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    See you in a few hours at launch!!

  • @PotatoManager420
    @PotatoManager4205 ай бұрын

    Thank you for putting such neat details like checkmarks in the video Much appreciate your efforts in your tutorials - they are really educating I learned Unity a lot from your videos very fast

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Thanks so much, PotatoManager420! I’m glad they help you 😊

  • @adventureman6997
    @adventureman699713 сағат бұрын

    Im going to use this in a game

  • @jorgemedina8497
    @jorgemedina84975 ай бұрын

    Awesome content, it’s great how you explain how things work in detail, not everyone takes the time to do that.

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Thank you! It does take a lot of time, but when people appreciate it, then it tells me that it’s worth it!

  • @CosmicComputer
    @CosmicComputer5 ай бұрын

    man I wish we had you making content on the unreal side :D great video!

  • @ssbmPi
    @ssbmPi5 ай бұрын

    perfect timing i just got to the point of trying to rig up my character model, thanks for great content :)

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Awesome to hear! I hope your project is coming along nicely!

  • @AlexBlackfrost
    @AlexBlackfrost5 ай бұрын

    I'm enjoying the procedural animation series a lot 😎

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Thank you Alex! One day the whole thing will be complete 😅

  • @birahe1810
    @birahe18105 ай бұрын

    You really should upload more videos. We need you! It would be perfect if you could create a "root motion based locomotion" tutorials, which will have basics from AAA games, such as basic walk/run/sprint, start/stop movement, rotating in place, leaning to input, turning based on input changes (for example if we are going forward and press backwards key)

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Thank you for the support. I’d love to make more videos. Time is my number one opponent these days 😅

  • @bifrostbeberast3246
    @bifrostbeberast32464 ай бұрын

    Awesome! Is the next episode already in the making? I love you videos!

  • 5 ай бұрын

    *Love It* ❤

  • @jonaswidmark1806
    @jonaswidmark180621 сағат бұрын

    Great tutorial! Is there an estimated date for the next one?

  • @RapidTech
    @RapidTech5 ай бұрын

    This sires is too fun!

  • @Diablokiller999
    @Diablokiller9995 ай бұрын

    Seeing this I wonder how I came up with something way more complicated that still isn't done yet and giving me headaches! Will refactor it asap, thanks a lot!

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Awesome to hear! I hope you can share it!

  • @cross-y1462
    @cross-y1462Ай бұрын

    You can make a video, but for feet ik for slopes? Also nice video 👍

  • @Maskeowl
    @Maskeowl5 ай бұрын

    took time but worth it

  • @npatch
    @npatch5 ай бұрын

    In case you mentioned it, ignore, but the order of components in a rig is of importance. Which is why having the multirotational component after the twoboneIK works correctly. Had you had the IK afterwards, the IK would either override the result or have a different starting point (fuzzy on that one, haven't touched animation rigging in over a year)

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    This is a good point! I’m not sure if I’ve ever mentioned it in my videos, but you are certainly correct!

  • @BbVortexMortinghan
    @BbVortexMortinghan5 ай бұрын

    Great video Nicky, keep it up! I really like Jason's content but Brackey's left such a void (not his fault), and you are really stepping up and I appreciate you. I hope I can create some game dev content next year. Your content is really good.

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Hey thank you for such kind words! Tbh these videos have taken me longer than I expected and there’s still a good amount to go which can be disheartening… especially when they aren’t performing incredibly well. But stuff like this make me feel like I’m helping the community and that’s made the time easier.

  • @Hoptronics

    @Hoptronics

    11 күн бұрын

    ​@@iHeartGameDev, Please, definitely keep going. In the past week I started using Unity. I made a terrain, imported some characters, a fps character controller and then got stuck on trying to make home move. I spent the better part of the day trying to figure it out. So confusing. Then I found your video. I've watched the first half of this many times in the last few hours and now I have a palms up character to mess around with tomorrow for the 2nd 1/2 of the video. I'm gonna go ahead and watch the last 1/2 tonight but after 2 crashes today, I rebooted and am calling it a night. I lost my work both times 😢 Thank you for the effort!

  • @howii7292
    @howii72925 ай бұрын

    I am on pins and needles

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    I hope you enjoy it!

  • @yours_indie_game_dev
    @yours_indie_game_dev5 ай бұрын

    is it possible to use perlinnoise with this topic an how would you implement it

  • @ps5games821
    @ps5games8215 ай бұрын

    great video

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Thank you for watching 😊

  • @lishnor
    @lishnor5 ай бұрын

    Great video! I have a question, Is there an easy way to add to arm IK shoulder movement because, without that movements seem to be stiff and unnatural?

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Hey there! Thanks for watching! I feel like this can be handled with an additional constraint! Like adding a multirotation constraint to the torso so that it twists in the direction of the wall or something along those lines. That's the cool thing about procedural animation is that it's all controlled by code, which means that your imagination is the limit!

  • @FriendlyNeighborhoodCJ
    @FriendlyNeighborhoodCJ5 ай бұрын

    Great video as always but are we gonna wait another few months for the next video about procedural animation?

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Thanks so much! I'll try my best to get the next out faster!!

  • @FriendlyNeighborhoodCJ

    @FriendlyNeighborhoodCJ

    5 ай бұрын

    Awesome. I'm really looking forward to the next video@@iHeartGameDev

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    @@FriendlyNeighborhoodCJ Thank you!!

  • @weweqewwqe
    @weweqewwqe4 ай бұрын

    Please make Video about ik system in unity

  • @drmeatball124
    @drmeatball1242 ай бұрын

    TY for the tutorial, but this is the first one in the series that has a showstopper for me.. The type or namespace name 'StateManager' could not be found (are you missing a using directive or an assembly reference?)

  • @drmeatball124

    @drmeatball124

    2 ай бұрын

    I rewatched the video and I see the Base Folder that has those scripts, where did they come from?

  • @roninmbattousai
    @roninmbattousai4 ай бұрын

    Good video overall, just one comment though, there is no common naming suggestion for enums other than to use PascalCase in c# documentation (afaik). Not sure if this an opinionated naming scheme you've encountered (or maybe overlapped from some C++/Unreal stuff where prefixing is more commonly suggested), but just a callout (i've worked on a lot of different code bases and both microsoft and the local teams have never used E to denote it as a prefix ((if anything we are more likely to encounter someone using a common suffix like "Type" or "State/Status" to denote enum in comparison to a "Model" for a class of properties for data exchange)). Only wanted to notate it to make sure that idiomatic code is taught (or pointed out if a preference for your own codebase).

  • @RamblingRhinoceross
    @RamblingRhinoceross4 ай бұрын

    I’m thinking of doing game dev, because I understand most of the elements for basic coding and programming. but I’ve only done them with scratch and I’m not sure what to do.

  • @csr3846
    @csr38462 ай бұрын

    I missed the part where you create your bananmans walking animation

  • @garrettdehart4988
    @garrettdehart49884 ай бұрын

    updates for the next part anytime soon?

  • @dangerClose-ij4fj
    @dangerClose-ij4fj3 ай бұрын

    I don't understand how we will manage our states behaviour on the base of inputs. like the new state that we create should work on any input and should stop when we left that input.

  • @Norbingel
    @Norbingel5 ай бұрын

    Hi! Since nobody else I've asked has tried, would you consider making a Snake Pass-type of snake movement?

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    I’m not sure what snake pass is!

  • @Norbingel

    @Norbingel

    5 ай бұрын

    @@iHeartGameDev It was GMTK/Mark Brown's most Inventive game 5 years ago. Here's his video on it talking about the movement: kzread.info/dash/bejne/ZoKCstRrcdyaf7A.html&ab_channel=GameMaker%27sToolkit

  • @Norbingel

    @Norbingel

    5 ай бұрын

    @@iHeartGameDev I've asked several of the big "copy game mechanics" channels, a few have responded, but none have actually done it.

  • @cinnabonjazz4434
    @cinnabonjazz44344 ай бұрын

    Could I possibly do this in UE5???

  • @mohamedmusthafa1057
    @mohamedmusthafa10575 ай бұрын

    What about fingers Do we animate manually?

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    If they are not in an open position, yes, you'd have to manually open them up!

  • @WisdomHellOfficial
    @WisdomHellOfficial3 ай бұрын

    Can you create a mobile touch controller using starter assets, please mam because starter assets not provided a better touch controller for looking. So, please Can make my dream tutorial please😢😢😢

  • @Coding-mj2dv
    @Coding-mj2dv5 ай бұрын

    Hi, I saw this video of yours and it was very useful for me, thank you, but can use the same video instead of the buttons use joystick for android please thank you، I've been in this deadlock for months، Iam waiting for you.

  • @user-py7ep3wm8n
    @user-py7ep3wm8n5 ай бұрын

    this feels too much but I think I'm gonna try it anyway

  • @iHeartGameDev

    @iHeartGameDev

    5 ай бұрын

    Give it your best shot! Trying is the first step to success!

  • @ChanelName
    @ChanelNameКүн бұрын

    Where is the code, Lebovski?

  • @WisdomHellOfficial
    @WisdomHellOfficial3 ай бұрын

    please brother i need it

  • @syedmeesumalizaidi2152
    @syedmeesumalizaidi21525 ай бұрын

    are you brother or cousin of www.youtube.com/@samyam (samyam) ? 😅

  • @WisdomHellOfficial
    @WisdomHellOfficial3 ай бұрын

    Brother please make a tutorial with full screen touch FPS control using new starter assets and in third person please. Till now no one has made this tutorial on KZread. And brother, I need it very much now and I tried to make it but I could not make it. Please tell me what are you doing brother? 😭😭😭 Please I need this. Like Pubg, Free firee and other games touch look controller.

  • @WisdomHellOfficial

    @WisdomHellOfficial

    3 ай бұрын

    Please brother

  • @newdiary6978
    @newdiary69785 ай бұрын

    I hope you could have more time to upload. 2 months is too long. Hehe

  • @advrakshachaudhari3699
    @advrakshachaudhari36995 ай бұрын

    who else thinks that he looks like CHARLIE PUTH. coz he absolutely does. Wait! Are you charlie puth ?

  • @WisdomHellOfficial
    @WisdomHellOfficial3 ай бұрын

    It will only take you 10 minutes to make this.

  • @mohokhachai
    @mohokhachai4 ай бұрын

    FK