How to Animate Characters in Unity 3D | Animation Transitions With Booleans

Поділитися
Вставка
  • Опубліковано 10 чер 2024
  • Learn how to transition between multiple animations using booleans in Unity 3D!
    This beginner-friendly tutorial is a complete walkthrough of how we can get our characters to transition between animations using the animation controller's parameters.
    ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
    💛 / iheartgamedev
    iHeartGameDev Merch:
    💛 www.iheartgamedev.com
    WANT MORE?
    Interested in learning more about animating characters in Unity? Check out my growing series of tutorials:
    ✅ • Unity's Animation System
    ✦ Like the vid? Please consider Subscribing!
    bit.ly/2YdIb6j
    ✦ Missed out on the last episode?
    • How to Move Characters...
    SOCIAL:
    ✦ Discord
    / discord
    ✦ Twitter
    / iheartgamedev
    SERIES DESCRIPTION:
    This episode (Ep: 2) is the third video in a series dedicated to understanding the fundamentals of Unity's animation system. Episode 0 was an introduction to the project and explains how to import free characters and animations from Adobe Mixamo. And Episode 1 was a full break down of the Animator Component. Be sure to check out the other videos in the series to continue learning!
    GEAR:
    Lumix G7 Camera: amzn.to/3Kks1gZ
    Epomaker GK68 Keyboard: amzn.to/3Ke87EB
    Samson C01U Pro Mic: amzn.to/33kDdtG
    LG 27" Monitor: amzn.to/3qAHFwS
    Lepow 15.6" Portable Monitor: amzn.to/3287OtL
    Logitech G604 Mouse: amzn.to/3A6jNV4
    Audio-Technica ATH-M50X Headphones: amzn.to/3tBaeMT
    X-Pen Artist 15.6 Pro Drawing Tablet: amzn.to/3FE5HLI
    Apple 15in MacBook Pro Laptop: amzn.to/3AbKdFc
    ►TIMESTAMPS:
    Intro - 0:00
    Catch up - 0:31
    Project Start - 0:50
    Animator Parameters: 1:04
    First Parameter: 1:27
    First Transition: 1:47
    Transition Settings: 2:09
    Adding a Condition: 2:29
    CODE: 2:58
    Add our first Script: 3:04
    Start And Update: 3:35
    Pseudocode breakdown: 4:02
    Connect Script and Animator: 4:18
    Has Exit Time: 5:23
    Has Exit Time Breakdown: 5:29
    Transition back to Idle: 6:09
    Indefinite Walking: 6:35
    Stop Walking Code: 6:53
    Refactoring: 7:09
    Controlled Walking: 8:16
    Learn to Run: 8:26
    Code for Running: 8:41
    Controlled Animations Result: 9:41
    Transition Settings: 9:50
    Solo And Mute: 9:55
    Transition Duration: 10:20
    Transition Offset: 10:33
    Interruption Source: 10:45
    Next Time: 11:23
    Where we’re going: 11:32
    Thank you for watching!
    #indiegame #gamedev #indiedev #2020

КОМЕНТАРІ • 732

  • @CosmicComputer
    @CosmicComputer 4 роки тому +322

    This might be the best tutorial series for unity I have ever found. I love the way you explain each component and function in detail, but do it in a clean/quick way. Thank Nicky, these are awesome and you have a new fan!

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

      Yeah, I want to learn how to make a game. One of basics features i found on this channel. To be honest they are really amazing and easy to understand. Hope there will be more tutorials. Wish you luck because content you are doing is great. Simply as that.

    • @JonataAlvesVet
      @JonataAlvesVet 3 роки тому +5

      @@iHeartGameDev Please keep going!!!! 100% the best tutorials I ever found too.

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

      don't we get a copyright strike?

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

      I know!!! I’m a fan! Lol it’s gonna help me so much!

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

      How can you say this is helpful, it doesn't show how to add other animations to the character. I have a character that just walks in place, and I can't figure out how to add jumping and other animations. He goes too fast and no matter how many times I have rewound it I am still confused on parts. I copied the code changing isWalkingHash to isJumpingHash and followed suit for the rest of the script changing "W" to "space bar" and it doesn't work. This feels like half of a tutorial, where is the rest of it?

  • @adamasplit
    @adamasplit 3 роки тому +77

    your tutorials are simple to understand, your voice is perfect for tutorials, your montage is clean...
    PERFECT!!!!

  • @ceko5472
    @ceko5472 3 роки тому +96

    you are the Next Brackeys

    • @Hoptronics
      @Hoptronics Місяць тому

      ​@@solomonhater3088 not better. He just expands on what Brackeys explains.

  • @georsonchua
    @georsonchua 3 роки тому +12

    really love the visual breakdowns. even if I already know how they work, how you show them on the breakdown make me think, understand, and remember it better. those checking also is a great plus as it make me not lose where you are at.

  • @0997udan
    @0997udan 2 місяці тому +2

    I have always been a programmer and not an animator, you are amazing and you earned a new subscriber

    • @Hoptronics
      @Hoptronics Місяць тому +1

      Same.. been waiting a long time for programming to be integrated into basically a game IDE. This is gold .

  • @evaisotalo3386
    @evaisotalo3386 3 роки тому +13

    Unusually well executed tutorial. The detailed explanations on what the various parts do and mean are priceless. Thank you for the time and effort producing these.

  • @akashverma4280
    @akashverma4280 3 роки тому +44

    I have been using unity for quite a time, this has got to be the best tutorials ever made. There were some things that I already knew but I preferred watching as the quality so great! Efforts appreciated!

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

    Sincerely one of the best tuto you can find on UA-cam for this subject !
    Pretty clear and very detailed !
    Thank you so very much !
    Congrats and continue this way, my friend !

  • @alexjackson3767
    @alexjackson3767 3 роки тому +10

    Awesome stuff dude :) your way of explaining things is always super clear and I feel like I'm understanding the core of what unity is actually doing - excited for more !

  • @ianfarrell1182
    @ianfarrell1182 3 роки тому +17

    Never thought I'd be able to add 3d animation into my game this easily. Thank you for making this so clear and concise that even a beginner can follow along.

  • @paddybanerjee9211
    @paddybanerjee9211 2 роки тому +6

    Tutorials like these are the only reasons I can make a game.

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

    The best tutorial series. Thank you very much. I spent weeks looking for a video or explanation of ow to do animation in Unity. And with you not only I finally get it but also started to understand C#. Honestly. Thank you very much

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

    Absolutely the best explanation for animation that I had seen so far!
    Especially the way to explain for every property to help us have a better understanding, I really enjoy watching your video!
    Your channel deserves more subscribers!

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

    The best tutorials for in-depth animation in unity 3d. Amazing. Keep it Up!! Loved this series so far

  • @saadmansuri4092
    @saadmansuri4092 3 роки тому +16

    With brackeys gone, the Majority of newbie devs were actually worried. But you are a blessing for us all. Such Mind-blowing tutorials. I seriously hope you keep making tutorials man its EXTREMELY helpful. Subbed

  • @ShawnGreyling
    @ShawnGreyling 3 роки тому +13

    PLEASE keep this up. these tutorials are worth their weight in gold. thanks so much 🙏🏽

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

    I'm starting to question how I did not find your channel before. This series has been absolutely amazing in my learning about Animation in Unity. Thank you Nicky so much for this.

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

    Coming from a ue4 background, these tutorials are extremely useful! The Unity animation system was once one of the seven mysteries of dev for me XD

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

    I'm impressed by the quality of these tutorials. The explanations are clear and concise and, more importantly, the concepts are explained in depth! Thank you making this great content, you really have good educational skills, keep it up!

  • @Kncperseus
    @Kncperseus 3 роки тому +5

    This video was a lifesaver. I felt so cool making my character go between the animations

  • @RivuDonTech
    @RivuDonTech 3 роки тому +5

    People like you will grow ! never stop doing what you love man ! and always do for the community appreciate it !

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

    I know its been said many times already but 1 more time wont hurt. The format of your videos really does make things a lot clearer. The graphics and arrows showing the flow really does clear things up. Many times a subject can actually be pretty straight forward once you understand it. Providing the clarity and understanding is where you excel.
    Nice work man. Don't change your approach its both useful and appreciated.

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

    Dude, you know how to teach. Excellent work so far. Love the explanations, you never have irrelevant details. Smooth, clean and on point. Am subscribed and anxiously waiting for the next lessons

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

    Truly the best unity animation tutorial I've ever seen. Far surpasses the bigger channels. Subbed!

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

    I looked for days, days! For someone, anyone who could explain clearly and simply how to make an animator controller. The result was always, *starts simple and then gets lost in some part of the code or other breakdown*
    What you have done here is nothing short of a miracle, someone said below that you are the next Brackeys, I couldn’t agree more. Keep this up please and I wish you success in becoming just that. subscribing now, thank you so much!

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

    You are so good at these tutorials. Keep them coming and you will be a huge channel in no time. Best I've found and I really appreciate it!

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

    i just wanna say that i love ur tutorials and they are so well explained and simple that it makes me understand more about unity! thanks for helping me out!

  • @JimmyDeLock
    @JimmyDeLock 3 роки тому +10

    Dude, seriously...best animation tutorials on UA-cam. You're so thorough, I feel like I actually have a shot at getting this. Thank you!

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

      Thanks so much Nathan! You got this 💪

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

    The amount of time i have searched for a good tutorial like this one! You have earned yourself a new subscriber

  • @DaysOfFlightSim351
    @DaysOfFlightSim351 4 місяці тому

    This is the best tutorial that I have watched for Unity. 3 Years so far, and still good as new!

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

    I really like the way you go into detail and explain the individual options. Many Thanks

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

    This video is really the best I've ever found on animation controller. I tried to learn this system and I kind of failed and I just didn't really want to work again with animations, but you're videos made animations look so easy to me now. Love your content and thank you a lot

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

    out of all the tutorials and this is not me just saying this to say this but this made me going from not understanding it to understanding it in 12 minutes. good job and keep this up!

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

    Just discovered this channel and already seems to be much higher quality than most. I’ve been looking for months for a good UA-cam video on how to set up character animations using C# and animations. May I suggest doing a full video on doing just that? It would be AWESOME! Keep it going, I’m sure you’ll get these subscribers!

  • @macleodgordon
    @macleodgordon 3 роки тому +5

    I've learned quite a bit from the previous 2 videos, but this one made my head hurt! Being 67 years old, I guess I need to slow down your videos before I watch, you sure do talk fast. Thanks for the videos, they are great. I'll watch this one again at .25 speed.

    • @stonecoldblue1
      @stonecoldblue1 Місяць тому

      string Honesty = "In all Honesty we should be learning from you" ;

  • @alexandres.vasconcelos8017
    @alexandres.vasconcelos8017 3 роки тому

    This is the best tutorial for unity I've ever watch. Congratulations!

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

    Dude your content's production quality is so high it's shocking. I'm like 3 videos in, and I can't believe how good your tutorials are. I don't know if you're a one-man army or have a team behind you, but you do great work. You are going to succeed here on UA-cam!

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

    Awesome to see this series continue!

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

    I love the way you break down steps and explain so clearly, you are seriously good, and I am really hard to please :) please keep it up! You are amazing Nicky I am so glad I have found your chanel, I beg you not to stop! :)

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

    hes always so happy. I love it. He explains everything so well. Good job man.

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

    You are deserved to get even more subs, your tutorial are short, simple, and beginner-friendly.

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

    best tutorial about animations ever seen, thank you so much everything works

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

    Dude, you edit these in a truly unique and informative way. Please keep doing this!

  • @mati2020
    @mati2020 4 роки тому +1

    I´ve been struggling with this for months, you just explained it perfectly, great tutorial!

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

      Months!!! It really isn't hard if you just look up the documentation

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

    learned so much from just one video. You are so good at explaing the coding parts too so easy to understand.

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

    Quite clearly the best tutorials I've found for anything in some time. Clean, quick, concise and thorough.

  • @r3dbvll
    @r3dbvll 3 місяці тому

    absolutely amazing tutorial! good job

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

    This is the BEST tutorial on any subject I've ever come across on UA-cam. So much attention to detail is paid here. Everything is clearly explained. I'm not falling asleep hearing your voice nor am I forced to waste time watching a 30 minute video that leaves me with more questions than answers. Well done. Fantastic!

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

    Your tutorials are incredibly awesome! Thank you

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

    I've said it before, u are new Brackeys. This was so GOOD. THANKS

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

    man this is the best Unity tutorials I have ever seen!

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

    Great tutorials, thank you, they are helping me a lot in learning Unity animation for my college project.

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

    Crystal clear and excellently explained. 5/5 thumbs up

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

    I'm kinda surprised this video only has so much views, I mean I thought everybody who started with unity should learn this at least, and this tutorial is definitely one of the best you can find in youtube. Many thanks for the clean works!

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

      @@iHeartGameDev I just realised that the YBot's position isn't changed when the walk/run animation is running. have you, by chance, done a tutorial vid about making it move? that would be real cool :)

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

    I'm just watching this and it is really really easy to understand. Thank you

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

    Keep it up dude, you have relatively few subscribers at the moment but your videos are extremely high quality and your channel will grow immensely for sure

  • @oldchannelunused213
    @oldchannelunused213 11 місяців тому

    Not only this teached me animating, but it also teached me to have a boolean based on when the player presses a certain key! Thank you alot! +1 sub

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

    Hey Nicky, greetings from Turkey, Istanbul. I am getting GD course and deep learning of Unity / Unreal are our responsibility. Project seasons started, your lessons definetly saved my life and after completion boosted my morale to the roof :) Your teaching, explaning + visuals are great. Please dont stop, keep it going. Or put them in professional course networks after a while, i am sure you'll push the top. Thanks again bro, GG.

  • @Video-ep4ij
    @Video-ep4ij 3 роки тому +1

    Your videos are very high quality which makes me disable my adblocker and watch all ads till the end :)

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

    Amazing tutorial nice way to clean up the code for performance also. I just used this on my weapons works perfectly! Thank you

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

    Nicky, love your way of teaching, presenting and video editing so much! You are a god send for us Unity learner, cheers!

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

    usually these tutorials dont get into the specifics of each setting and what they do, but DAYUM yours was so helpful. keep it up blood.

  • @samirkazah302
    @samirkazah302 8 місяців тому

    Just what I needed to bring my character to life, thank you so much!

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

    This is such a high quality tutorial, the pace at which you present the information and the video edits are so good, well done!

  • @LamNguyen-sy2bv
    @LamNguyen-sy2bv 4 роки тому

    Thank you for your detail and easy to understand tutorial. Keep it up!

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

    The quality and the way you explain things i thought u are a 1m sub UA-camr. You really deserve more . Tutorial was really helpful. Thanks

  • @brandonfigueroa2800
    @brandonfigueroa2800 3 місяці тому

    This was extremely enlightening!

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

    Amazing tutoriel very clean nice and well explain ! You deserve to have more subscriber :D

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

    thank you so much other tutorials just aren't very diverse and really focus on one type of character thank you

  • @vsdsas
    @vsdsas 3 місяці тому

    bro has been saving life since 2020 this is the best tutorial i am beginner and it help me a lot a save time of searching i am going to watch all your video form now one i am sure it will be much help full

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

    I started messing with programming when I was maybe 9-10 years old and I am now freaking 40 years old and when pressing the W key up and down, watching the idle/walk happen... legit was the same feeling I got back when I was a small child and made a computer print "hello" :D
    Wish you the best with the videos m8 ... appreciate the time taken to make timestamps and how to breakdown each element. If I had gold stars to give you get one for sure.

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

    Very well explained! a lot of content creators wander around a lot and don't explain very well how to do animations, you are great!
    im suscribed now, hope you grow bigger!

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

      @@iHeartGameDev thanks for taking the time to respond :)

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

    you'r a bloody legend mate

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

    How is this page not getting many subscribers? Come on! He does better than my profs out there 😂

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

    Awesome! Finally someone that knows how to code properly.

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

    Love the work you have done its really very clean and quick you got yourself a new subscriber and please keep going i would love to see adv player movement like slide double jump wall run with animations

  • @ajmckennan1663
    @ajmckennan1663 4 роки тому +1

    So much love and such great content!

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

    100% perfect, thanks so much for making this video this helped me a ton.

  • @ThousandAnt
    @ThousandAnt 4 роки тому

    Great video Nicky! Clean and well presented with good info. Keep it up!

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

    Maaaan you are the best❤ Saved my day ✌🏼

  • @Karl_08
    @Karl_08 7 місяців тому

    Thank you for this Tutorial. You explain very well!

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

    Wow this video is just amazing, at the end you really feel that you learned a lot

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

    The best animator video that I've watched!!!!! Thank you very very much. You are such a good teacher and the video is very easy to understand

  • @009raptor
    @009raptor Рік тому +1

    Just wonderful! You've done a great job here. Easy to follow. I myself am a scientist focusing on wearable motion sensing research, and working on project for gamification of body movements. This series has been a "pivot" :P in my learning process of Unity engine.

  • @Nick-rq4gy
    @Nick-rq4gy 2 роки тому +1

    Thank you for making these videos, love it!🥇🏆🙋‍♂️

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

    Great series of tutorials! thank you very much!

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

    This is such a great tutorial! Definitely simplifies things I had a lot of trouble with.

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

    Nicky, this is gold content. Thanks for this!

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

    thank you! can't wait for the next one

  • @mrdev554
    @mrdev554 9 місяців тому

    the best tutorial series in the world

  • @ShinyParrot277
    @ShinyParrot277 7 місяців тому +1

    Thanks for the awesome tutorial!

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

    well made tutorial! thank you!

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

    I just want to say, it's been 2 years and this is incredibly helpful

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

    You're amazing, these videos are helping me a lot, thank you!

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

    awesome tutorial series, keep up the good work!

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

    Awesome video. Thank you. The code worked for me. Now I can move onto the next step in my game.

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

    Very good guide! Helped me understand unity animations and create animations to my fps game!

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

    This is an amazing series brother thanks a lot for this :D

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

    *thank you super much, I am learning unity and this is the best tutorial for animation yet, thanks*

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

    Amazing Tutorial !!