The series so far is the most explicit Unity tutorials for me to follow along so far! You're my LIFESAVER! Thank you so much Nicky! Can't wait to see the rest of them!!!
@NoldoWalker3 жыл бұрын
Agree, best about animations what ive founded for now!
@CJRH1FILMS4 жыл бұрын
I'm diggin your music choice. Somehow it keeps me even more engaged, like I'm solving a puzzle in a videogame or something
@kitchenspider15394 жыл бұрын
Agreed... the music really gets the noggin' joggin'. weird but true
@fret2fret2214 жыл бұрын
you've gained a sub man. holy crap. im actually starting to understand code and how it works. it all looks like gibberish before this particular video. now im starting to realize what it all means in the script and how its logically written. so fascinating. thank you! I don't know if its planned in your series or not but I would love to see a video on world interaction. specifically walking toward an object and picking it up, climbing onto something, etc. thank you.
@GameDevNerd3 жыл бұрын
Code is the best part! It's just a way to tell a computer what it must do and how to follow your commands. And it's not hard at all, it just looks intimidating at first, but it's all simple, short-handed ways of expressing logical processes and the flow of control. Once you get familiar with coding and learn a language you realize you can literally make anything you want happen in a computer system. :-)
@kentrose25203 жыл бұрын
Love how you explain every field in the animations, blend trees, etc. Really helpful!
@iHeartGameDev3 жыл бұрын
Thanks so much Kent! -Nicky
@MarkRiverbank4 жыл бұрын
These are extremely helpful for learning more complex animation. A couple code tips though, it's generally better to expose your fields in the inspector by adding the "[SerializeField]" attribute rather than making them public. And, for your input handlers, there is the class "KeyCode" with static members for all the keycodes, so you don't have to use strings (eg. KeyCode.W, KeyCode.LeftShift).
@gaetanolombardo6150 Жыл бұрын
I have never listened to a clearer and more proper explanation on mechanim than this one. At last. This is gold
@038alpha4 жыл бұрын
You know he's a good teacher when you manage to solve your own issues just with what he told you. There was somthing wrong in my blending, arround 0.5 velocity it seemed like the feet and legs were barely moving, the animation was odd. So I thought maybe one animation wants left foot forward when the otherone wants right ! Just added 0.5 offset to running and boom, done. Only because you clearly explained what is blending and what is offset. Seriously, congrats, i'm exited to see other videos, i'll recommend your chanel to anyone interested in video game dev. You're the first ever content creator i'll actually click the bell for haha. Thx for your work.
@chief_rasko3 жыл бұрын
Nicky, while following the tutorial I found that when setting up the initial transition back from the first Blend Tree to the Idle animation, setting the Condition for the transition as Velocity < 0.05 caused the Animation to jitter/revert back to the Idle animation for a second before continuing with the walking -> running animations, this was quite confusing however setting the Condition for the transition to Velocity < 0.01 instead fixed the issue. Hope this helps anyone who came across the same issue
@RaulCesarAdolfo3 жыл бұрын
This helped me, thank you :)
@KnightFury99002 жыл бұрын
OMG that bugged me out thanks mate appreciate it
@chananimation94842 жыл бұрын
You save my life mare
@Cap0verkil2 жыл бұрын
Hi can you help me with this? I don’t understand how to change the condition for to transition to velocity
@LedVon_Heavy Жыл бұрын
thanks chief
@Northwise2 ай бұрын
Needed a short introduction to implementing locomotion/blend trees in my game. Every video was unneccessarily long and didn't give info straightforward. You gave me what I needed in literal seconds by your timestamps and straight forward explanations. Couldn't have been done better - thank you!
@digital_comrade3 жыл бұрын
I am new to Unity and this series is amazing. Not only is it great for teaching the concepts of animation in unity, you also do an excellent job of teaching programming basics for those that might not have them. Thank you for your amazing work!
@tb__662 жыл бұрын
Keep up the good work. So far your videos have been the most helpful in understanding not just "do this and this will happen" but WHY it happens, which is infinitely more instructive in learning how to use Unity beyond the limited scope of a tutorial.
@iHeartGameDev2 жыл бұрын
thanks very much!
@eliebeaino4 жыл бұрын
only 1k subs? I randomly discovered you, your videos are so high quality and cover topics in full detail and are quite systematic. I'm familiar with most of the animation system but what make you stand out from everyone else is that you cover the little nitpick details even if you aren't using them in your guide and this is what I've been looking for awhile. I've taken multiple unity courses and you are the only one covering what needs to be covered. thank you.
@jas28904 жыл бұрын
for thos who want to still use the run with shift feature still ive pulled some messy code up for you: using System.Collections; using System.Collections.Generic; using UnityEngine; public class AnimationStateController : MonoBehaviour { Animator animator; float velocity = .0f; public float acceleration = .4f; public float deceleration = .8f; int velocityHash; public float MaxWalkingSpeed = .5f; void Start() { animator = GetComponent(); velocityHash = Animator.StringToHash("Velocity"); } void Update() { bool forwardPressed = Input.GetKey("w"); bool runPressed = Input.GetKey("left shift"); if (forwardPressed && velocity < MaxWalkingSpeed){ velocity += Time.deltaTime * acceleration; }if (runPressed && forwardPressed && velocity < 1.0f){ velocity += Time.deltaTime * acceleration; } if (!forwardPressed && velocity > .0f){ velocity -= Time.deltaTime * deceleration; }if ((!forwardPressed || !runPressed) && velocity > MaxWalkingSpeed){ velocity -= Time.deltaTime * deceleration; } if (!forwardPressed && velocity < .0f){velocity = .0f;} animator.SetFloat(velocityHash, velocity); } } ps. the variables are changed to suit my game.
@blaccy59914 жыл бұрын
Don't put every line of code into update. Put them into their own separate functions and call them. Also you are creating new bools every frame instead of holding them as a private variable. A better way would be to make a function to get inputs (isCrouching, isSprinting, isWalking etc) another function for setting your velocity velocity and a third function for setting your animator variables. If you do this it would be more modular, more performant and much easier to manage.
@jas28904 жыл бұрын
Blaccy thanks
@blaccy59914 жыл бұрын
@@jas2890 No problem. If you want I can rewrite your code
@jas28904 жыл бұрын
Blaccy no don’t worry about it it’ll keep me occupied for a little bit
@blaccy59914 жыл бұрын
@@jas2890 Just ask if you have a problem then
@slsno33334 жыл бұрын
Hi Nicky, was frustratingly stuck for days following different tutorials then youre chanel came along. What a life + time saver thank you so mutch can't wait to watch the rest of the tuts! Awesome amount of info in short movies thanks again.
@ARRCWoodStudios4 жыл бұрын
I’ve learned more about animations in three of your videos than I have since I started game dev last August. Thank you so much for making these videos!!
@brandonhooper75032 жыл бұрын
i just had to take a minute out of banging my head against the keybord to say thank you for teaching the public. youre great!
@iHeartGameDev2 жыл бұрын
Thanks so much! Happy it helped!
@GameDevNerd3 жыл бұрын
I liked and even went ahead and subscribed. I'm an old DirectX programmer and C# master who just started messing with Unity and your videos solved confusion I had about getting animations working and taught me what all the editor buttons and gizmos do. I'm doing my first Unity game prototype right now and it's getting quite sophisticated. I've done all of these things before, and used to write my own engines on top of DirectX and OpenGL, but Unity is a new tool for me. So far, thanks in part to these videos, Unity has been an absolute joy to work with. I was away from development for a few years and the industry and tech has advanced GREATLY! There's never been a more fun or interesting time to be a game developer than today in 2021!
@chamussoide2 ай бұрын
this series is amazing! It's dry but dense of knowledge! Thanks man, your work is precious!
@signalised95404 жыл бұрын
We're going to be blessed by Nick again!
@kkrup53954 жыл бұрын
Wow i looked at your subscribers cound and saw 3,95 figure. I thought "nice, 4 million subs, that's why quality is so great".. And then I realized it is thousands. I feel you gonna grow rapidly, thanks for the video:)
@leahevehumphries3 жыл бұрын
Thank you so much! You are a lifesaver! I have 10 hours left to finish my coursework and you're helping me SO MUCH! 😭❤️
@iHeartGameDev3 жыл бұрын
Great to hear, Leah! Happy to help 😊
@artyomcg Жыл бұрын
You can also just clamp velocity if (forwardPressed) { m_Velocity += m_Acceleration * Time.deltaTime; } else { m_Velocity -= m_Deceleration * Time.deltaTime; } m_Velocity = Mathf.Clamp01(m_Velocity);
@SamuelDarby Жыл бұрын
that works really well thanks
@jccfrancis Жыл бұрын
Even though this is from 3 years ago, everything is so clear man, keep it up, great tutorials
@BeatTorrent54 жыл бұрын
This is honestly the best series on the subject so far and you also have the best method for explaining things. And it comes from someone who watched days worth of tutorials on several platforms. Love it, I honestly hope you keep up your work.
@dwanascie2289 ай бұрын
For anyone wondering the tutorial still works fine in 2024, there are some additions in the newer version of unity but the old stuff still works the same.
@saadmansuri40923 жыл бұрын
Haven't even started the video but dropped that like already cuz i know it's gonna be another mind-blowing tutorial. Ayo yo Nicky, Don't forget us OG's when you make it big on youtube xD
@Jarmister3 жыл бұрын
I'm finding your tutorials extremely useful and relaxing.
@chadzulu43283 жыл бұрын
Best Unity series that I've watched in years (since around 2016).
@OrdinaryOcean20013 жыл бұрын
Honestly one of the best tutorials I've ever seen. It was the perfect speed and covered just the right amount of detail. Keep up the good work!
@akashjaiswar94374 жыл бұрын
I used unity animations before but this series taught me new things and helped me become better then I was ever using unity. Keep on going like this sir it really helps people like me
@rikrishshrestha54214 жыл бұрын
I feel this channel has the potential to make it big.
@nathanielscheurer18213 жыл бұрын
I absolutely love your videos, they are straightforward, in-depth but also simple. One thing you could improve however is to take a second or two to pause when you finish a script so the viewer can look through it.
@thygrrr3 жыл бұрын
Excellently structured for intermediate and advanced unity users. Awesome tutorial!
@SassyPantsy3 жыл бұрын
Amazing tutorials man, Subbed! For anybody having trouble with jittering in the animation - basically a split second transition between the blend tree and back to idle, and then back to blend tree again: The reason this happens is that for a split second, by using an acceleration rate of 0.1f, the value of velocity is both less then 0.5f AND greater than 0, so the animation does this double transition. To fix this, Up your acceleration values to something greater (for me it's 0.5). It might be effective to do a much smaller number, but I couldn't find one.
@nikesh_niki Жыл бұрын
I did 0.5 but still facing the same issue. Any idea why ?
@---qm3wz4 жыл бұрын
you have no idea how much you've helped me, sir. please make more tutorials, we need you. --a student from from china
@AphixDev4 жыл бұрын
I love how you explain everything, no matter how relevant it is for this tutorial! :D
@gizel43763 жыл бұрын
i like it too, i hate when other tutorial show you how to do something, but they assume you don't need to know what some line do, but yes i do, i need to know what everything do in my code, otherwise, how can i play with it
@bouchiriliass51304 жыл бұрын
Can't wait to see you with 1M subs !
@coverscollection877510 ай бұрын
4:46 Why when testing blend tree dragging the velocity didnt move my player at all? I already press play and and dragging it nothing happens
@coverscollection87759 ай бұрын
@@_kdgbljr nahh just forget it hahah
@shaikhabdulbasit57172 жыл бұрын
5:44 to 6:49 by all due means sir, u helped me big time, I can create my fan with this.😭
@caaccaac87123 жыл бұрын
Love the relaxing background music.
@omkarpatil20942 жыл бұрын
Sir, I love you! Thank you for this playlist! It's my first time working with Unity animations and these videos have been a blessing. When I'm in a state (financially) to contribute to your patron or something similar, I'll be sure to do so!
@madara_u_chiha9 ай бұрын
Omg! You are excelsior! Well done Nicky! You made my day many times with all your playlists!
@cam47224 жыл бұрын
Great presentation quality and pacing. I look forward to seeing more!
@Aphelion784 жыл бұрын
Thank you so much for these videos. I haven't been working with Unity very long but the most difficult and frustrating things for me has always been mecanim. This is the first time that I'm finally beginning to grasp the concept and make forward progress.
@Asimaro9 ай бұрын
im gonna say real thank to all your work man
@iHeartGameDev9 ай бұрын
Thank you for your kindness! I'm happy to help!
@clerkwestwood8513 жыл бұрын
I have just admired how clean your code is. By the way, your montage and clear explanation are topnotch.
@lesarch4 жыл бұрын
These tutorials are awesome! Very clear and goes straight to the point. I look forward to your future tutorials.
@SuperLordee Жыл бұрын
insanely helpful tutorial. Very well explained!
@iHeartGameDev Жыл бұрын
Thanks so much Super Lordee!
@ahmetaltay19464 жыл бұрын
Thanks for detailed information. I was watch a lot of videos that category but this video was the best!
@alankim2544 жыл бұрын
I'm learning a lot from this video. Thank you so much! Can't wait for your next video
@lenarvalolampape1813 Жыл бұрын
top tutorial series !! ty so much
@iHeartGameDev Жыл бұрын
Glad you like them!
@charlesonis34844 жыл бұрын
So awesome to see you keep this series going!
@phantomprogramming4 жыл бұрын
Super high quality! I was surprised to see you only have 783 subs, you deserve more! Keep it up!
@axon2667 ай бұрын
Learning A LOT from your videos!! Thanks!!!
@iHeartGameDev7 ай бұрын
Thank you for watching! Hope you enjoy my other content!
@venomtoxin4 жыл бұрын
Hey Nicky. Mine was waiting to finish idle animation then transist to a walking anim. So I needed to wait second to get it walking. Did I miss something. So what I did was like in the previous video, disable "Has Exit Time". And it started walking instantly. But then came a another problem. The moment I press "w" it is looping 1 time (walking to idle), just the first second. So only the first second it is accepting the walking to idle, and then continues the normal walking, a split second of a glitch like. I solved that problem by setting the transition from ( walking to idle ) velocity 0.05 to 0.01, then it worked. 02:00 Has Exit Time was not deactivated in the video & the 0.05 that I changed to 0.01 for the hikup.
@venomtoxin4 жыл бұрын
@@iHeartGameDev That helped yes.So I can do it my way... velocity from 0.05 to 0.01. or acceleration from 0.1 to 0.5 helped for example. I still dont know what the problem is accually. Code is the same, just the animations are a little different, can that be the problem. I can not find the exact same animation you chosen offcourse.. you search on mixamo walking you find 30 with the same name. maybe the problem your animation takes less frames, or timeframe whatever... And that makes a differents maybe. I dont know. Im the one that is here for learning animations :D haha. Im waiting for the next episode. A locomotion would be awesome. I backup your project, so we can continue again. I made a copy and tested with the asset FinalIk. Have a nice day, my bell icon is on.
@casparrii3 жыл бұрын
These are GREAT tutorials! Good level of detail and brilliant explanations and examples! Thank you :)
@DanPos3 жыл бұрын
Great tutorials Nicky!
@iHeartGameDev3 жыл бұрын
Hey Dan! Thanks so much 😊
@justbg4e5203 жыл бұрын
@@iHeartGameDev thanks man
@iHeartGameDev3 жыл бұрын
@@justbg4e520 Thank you for watching!
@ajmckennan16634 жыл бұрын
Beautifully explained as always.
@Chapter92 жыл бұрын
great effort dear NickyB. no one on youtube with such detail.
@XadegamerOfficial4 жыл бұрын
Yes... Been waiting for this masterpiece 🔥. Thanks Nick
@secrescence2 жыл бұрын
Thanks for explaining it really well! I've been putting off learning soft soft cuz it looks so intimidating but now that I easily understood the
@munaokpala29984 жыл бұрын
I really love these videos and the work ethic put into them, keep it up
@cello914 жыл бұрын
Just found your channel yesterday! Awesome content - love how accurately you explain every detail! :)
@cello914 жыл бұрын
@@iHeartGameDev amazing that you just started 8 Month agieren and already put out such high quality content! Did you teach yourself?
@cello914 жыл бұрын
@@iHeartGameDev Amazing! Wish you the best for Your Channel! Will join discord later today!
@szaske70482 жыл бұрын
I was not able to get this working, as of 3/10/22 and using Unity 2020.3.25f1. I have enjoyed the previous videos but there are a lot of inconsistency with this one; 1. When creating a new Blend Tree Unity automatically creates a float parameter called Blend and connects it to the Blend Tree. At :58 you can see this in the parameter list. When you return at 1:34 that parameter has been deleted without mentioning it. Later at 2:23 you state that the Blend Tree defaults to the Velocity parameter, but this is not the case. Mine is still defaulted to the "Blend" parameter, even though I've already deleted that parameter it to be in sync with what you're showing. Finally, if I hit play and attempt to slide the Velocity slider shown in the Blend Tree graphical editor it does nothing. If however I alter the velocity in the Parameter list window...that will affect the running animation.
@PraetorianAU2 жыл бұрын
Hey mate. Same problem here. Did you ever find a fix for this? I'm quite late to the party on this one.
@shammahcharles4941 Жыл бұрын
No same problem not explained
@EnigmaStudioPro4 жыл бұрын
Hey! Thanks Nicky you are an amazing Teacher. You explain everything. Please make more videos. We love you. I love your way of teaching. You explain everything.
@EnigmaStudioPro4 жыл бұрын
@@iHeartGameDev please make more videos. We love your teaching style and editing. Thank you so much!!! Soon you'll hit million subscribers.
@zenitsu9502 жыл бұрын
I dont understand ! why did u add the bolean and how does that make the velocity move mine doesnt ;/
@cod1que433 жыл бұрын
u are legit the next brackeys
@iHeartGameDev3 жыл бұрын
Thanks Jacob!
@cod1que433 жыл бұрын
@@iHeartGameDev i love ur tutorials, currently following ur animation series
@AWanderingOrc3 жыл бұрын
Thank you so much for posting this, I learned a lot from this vid. :)
@iHeartGameDev3 жыл бұрын
Glad it was helpful!
@Haerinaaaaa4 жыл бұрын
Thank you Nick. This is awesome
@samyam4 жыл бұрын
Great video Nicky!
@alexjackson37674 жыл бұрын
Awesome stuff as always :) !
@paulthompson52 Жыл бұрын
Loved the very informative tutorial!! Would really like to see what you do with nested blend trees and how they can be used!
@santiagorodriguezsaura94184 жыл бұрын
you explain very well, great tutorial!
@TalhaRiaz1973 жыл бұрын
You are one of my Favourite KZbinr
@WanderyenErin2 жыл бұрын
You are an excellent teacher. Thank you for the video!
@rashidfarhan62234 жыл бұрын
you are soo underrated my man
@sneaky90733 жыл бұрын
At 4:01, when I try to drag Velocity, my character stays still. Any help?
@iHeartGameDev3 жыл бұрын
Hey! Be sure that the character is selected when entering play mode :)
@pro-hunter45883 жыл бұрын
@@iHeartGameDev worked thanks
@monkeyrobotsinc.98754 жыл бұрын
i like your velocity increase decease code.
@codeFriendlyART4 жыл бұрын
This one felt just about right! Cool!
@buysmartter2 жыл бұрын
Dude, you are awesome! your videos are super clear, explained in details, and are really fun to watch. You are clearly investing a lot of effort doing them. Thanks! BTW, if you get to one of the videos by search (and not via the Unity's Animatin System series) it's not clear which is the next video to watch. I struggled to find the next video in the series. It would help if you put a link to next video on the description, and put at the end of each video a clearer thumbnail of the next one (Saying "part 5"...)
@buysmartter2 жыл бұрын
Actually you did put a link to the series in the description 🙂 so scratch that...
@rajasmahadule26973 жыл бұрын
Thank you for making this.
@signalised95404 жыл бұрын
This is a great vid, ty for ur time and effort
@vieirapereira12984 жыл бұрын
i think this should be on unity official program, great work !
@ty-xq7bl4 жыл бұрын
best tutorials ever.
4 жыл бұрын
Finally. I cannot wait until the next video.
@Only4GamersXyz4 жыл бұрын
Great Tutorials 👍. Very few KZbinrs are good as you. Seeing next Brackey in you. Just keep going like this. 🙂
@edsarenas63894 жыл бұрын
this is super awesome. hope you cover IK and animation layers too
@tinacruzart Жыл бұрын
Thank you for this info!
@NotMichaelEither2 жыл бұрын
7:07 My animation is delayed. It will start walking only after 0.1 velocity. I dont have time to figure it out now, so i hope someone can tell me if im doing something wrong by the time i get back to this. Thanks.
@imredhawk23582 жыл бұрын
5:20 can the new code that you are writing be in the same animationstatecontroller script in the earlier episodes
@arvinrohani32253 жыл бұрын
such great videos for people like me wanna give a great animation to their video game
@AndersonMarquesss3 жыл бұрын
Your content is amazing!!! Thanks for share it with us.
@kurtlosbanos61233 жыл бұрын
Hi my problem is that my character doesn't move according to the blend tree node when I enter play mode even when I drag it. I wanted to know why? I have been following all of it until 6:25. I checked all my codes and follow you detail by detail before posting this comment and I didnt see any errors.
@isirapramodith87203 жыл бұрын
good tutorial . thanks
@rendum91523 жыл бұрын
when I press w, the speed goes up, but he remains in idle. He starts running at about 0.9f. other times it starts walking at 0.3f...
@numero7mojeangering2 жыл бұрын
Keep seeking for where the bug could come from!
@linkous49243 жыл бұрын
I really like your smile, and nice tutorials :)
@diliupg3 жыл бұрын
Excellent tutorials!
@Damian_DH Жыл бұрын
dang ur clean bro!!! thanks.
@27chcraft_dev804 жыл бұрын
Thanks! Exaxtly what I need for my game
@evilplantosavetheworld3 жыл бұрын
First off this series is friggin awesome, honestly the best unity animation tutorials I've ever found. Second off, is there a reason we don't just use Mathf.Clamp on velocity? Or is it just to avoid going into additional code?