Godot 3D - Basic Character Controller | Character Animation Tutorial: 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025

ความคิดเห็น • 31

  • @MrXSharing_is_caring
    @MrXSharing_is_caring ปีที่แล้ว +3

    OMG WHY I ONLY FIND YOU NOW 😭 thank you very much!!

    • @Bonkahe
      @Bonkahe  ปีที่แล้ว

      Lol thank you so much for the kind words!

  • @guilhermenascimento8250
    @guilhermenascimento8250 ปีที่แล้ว +7

    Your videos are really great, specially this both gd and cs code split view, really amazin 🛐🛐

    • @Bonkahe
      @Bonkahe  ปีที่แล้ว +2

      Thank you so much for your kind words!
      I'm glad it's helpful~

  • @D.E.Nicolas.Goncalves
    @D.E.Nicolas.Goncalves 11 หลายเดือนก่อน +2

    This blend between animations, Thanks! Helped a lot!

  • @yvanvan3729
    @yvanvan3729 ปีที่แล้ว +1

    Thanks you for making this video. Have a wonderful week too.

    • @Bonkahe
      @Bonkahe  ปีที่แล้ว +1

      My pleasure!
      I actually just finished the rendering on the video for this weekend, and I'm uploading it, so I'll be back a little sooner rather than later this time.

  • @rodolphoa.marinho2598
    @rodolphoa.marinho2598 10 หลายเดือนก่อน +1

    Thank you a lot for this tutorial! Creating smooth animations for movement in four directions has been a struggle for me.

    • @Bonkahe
      @Bonkahe  10 หลายเดือนก่อน

      I'm glad it was helpful!

  • @davidb1191
    @davidb1191 7 หลายเดือนก่อน +1

    No entiendo como estos videos no tienen más visitas. Claramente el algoritmo de TH-cam no funciona. Gracias por los tutoriales.

    • @Bonkahe
      @Bonkahe  7 หลายเดือนก่อน

      Lol Muchas gracias por tus amables palabras, me alegra que los videos hayan resultado tan útiles~

  • @belgbeladel
    @belgbeladel 10 หลายเดือนก่อน +1

    Quality stuff !!

  • @gabriel-xh8uo
    @gabriel-xh8uo 4 หลายเดือนก่อน +1

    i love gdscript 3:35 ❤❤❤❤❤❤💪💪

  • @gabriel-xh8uo
    @gabriel-xh8uo 4 หลายเดือนก่อน +1

    Here you can understand which code is less, cleaner and better 3:34👀👀
    gdscript 💪💪❤❤

  • @da_cat
    @da_cat ปีที่แล้ว +1

    Lol i'm so dumb, i used a 1D blendspace for my 3d game because im lazy and then afterwards i spent 20 minutes trying to figure out why my animations are not working lol. Switched to 2DBlendSpace and now it's working. Thank you very much😅

    • @Bonkahe
      @Bonkahe  ปีที่แล้ว +1

      I'm so glad you got it working!
      Keep up the good work, and thank you for the kind words, I'm glad I could help.

  • @owenlloyd2528
    @owenlloyd2528 ปีที่แล้ว +1

    Thank you

  • @leoscave6728
    @leoscave6728 ปีที่แล้ว +1

    I used this for my character first person movement. It's very nice! I wonder if I can make it work on a separate camera layer. Thank you for the free help!

  • @martiandesertboy
    @martiandesertboy 11 หลายเดือนก่อน +1

    Iam having an issue with this, when i run scene the blendspace2d doesnt seem to be running the animation at all, been uaving this issue for 2 days now thought i could solve it, i cant

    • @peanut5934
      @peanut5934 8 หลายเดือนก่อน

      hey pal you resolved it I'm having the same issue

  • @fruitdudetv
    @fruitdudetv 3 หลายเดือนก่อน

    saddly 11:08 does not work for me :( animations are super slow now and idk how to get smooth transitions between animations in a blend2d. 3d animations in godot are a horror. not a single tutorial out in the wild that can do it so far

  • @herbert9039
    @herbert9039 ปีที่แล้ว +1

    Hey David, great Video!
    Can you maybe weigh in on this decision I'm facing: Do you think using C# in Godot is worth it right now? I'm thinking about moving my top down game with an advanced ability/spell system over from Unity, and I'm thinking about using GDScript, because it might help me with writing simpler code. But I'm not sure if things like refactoring and lack of interfaces & abstract classes will bite me in the ass...

    • @Bonkahe
      @Bonkahe  ปีที่แล้ว +2

      Thank you so much!
      Now in normal circumstances I would say go with what you enjoy, either way you'll be able to get it done, but in this case I would actually recommend you go into C# specifically.
      Reason being is that the way you structure scripts when having interfaces, (or I assume structs in your case for the abilities/spells) is a little hampered by the gdscript style, not to say you can't do it, but for example in my latest series (FPS Horror one) I had to create a "Limb" enum, in order to have this enum usable from multiple scripts I had to put it into another script file, and then reference it like "LimbScript.Limb.RightHand" etc, it's a little bit obtuse when using it in that style.
      Now this down side can be alleviated by a restructuring of how you have things working, like instead of having a different inherited interface for each spell and having them housed in the control script as objects, you could have them each be assigned a new node, and be children in the scene, and the control script contains a list of all the children nodes, being all the available spells, and when you learn another it just adds the packed scene for the spell as a child.
      But yeah, with having an already complex/semi complete spell system in C#, I would personally recommend you move straight to C#, but of course you can also do other options, I wish you the very best of luck, and would love to hear back with whatever you're decision was and how it went.

    • @herbert9039
      @herbert9039 ปีที่แล้ว +1

      @@Bonkahe Thank you for the detailed answer! I'll try to remember to update you if I make interesting progress with this

  • @glxxm
    @glxxm 9 หลายเดือนก่อน +1

    I've followed along and watched this over about 3 times, but no matter what I do, no animation plays when walking/moving. He just idles and slides around :\

    • @DavidColgate
      @DavidColgate 9 หลายเดือนก่อน +1

      I've just run into this as well and realized that transition speed is acting differently for me than in the tutorial. Try cranking that up and/or printing your currentVelocity to monitor whether it's changing or not.

    • @Bonkahe
      @Bonkahe  9 หลายเดือนก่อน +1

      So sorry for the delayed response, been a bit hectic around here, @glxxm, did David's recommendation work? if not you can always hit up someone/or me on the godot official discord for some help, that seems like a pretty solvable problem.
      Also thank you so much @DavidColgate for helping out! Sorry for the confusion, not sure why that's happening but I will say I encountered similar issues and I think some subtle things changed on the math in the back end of the animation tree with recent updates, no clue what though.

    • @OrionPhilosophy
      @OrionPhilosophy 8 หลายเดือนก่อน

      @@Bonkahe I has something similar and, after printing the current input var, it was because the current_input was staying at (0, 0) for the Vector 2. it could be because you didnt change the var on line 29 and 30 at time 8:23. Also, thanks for your tutorials, they're extremely helpful.

  • @daniloB225
    @daniloB225 ปีที่แล้ว

    hey man great video, but my currentVelocity is not going all the way to 1 or -1 when moving diagonaly, so animation are not reaching their fullness. when I print currentVelocity, it show going only to 0.70 or -0.70.

    • @Bonkahe
      @Bonkahe  ปีที่แล้ว +1

      Hmm, so I believe your correct, I *Think* the ".Normalized()" at line 87 C# (line 66 of GDScript) is the culprit, I'm going to investigate this real quick and then come back to you, but if you don't hear back from me try removing that and see if that resolves your issue.
      Sorry about that!
      EDIT:
      So I got it I think, remove the Normalized at line 93 C# (71 GDScript) and add a ".LimitLength(1)" to line 94 and 72 respectively.
      That being said under normal circumstances this is not something you would ever have too much of an issue with, as the rotation speed will normally rotate the body towards the movement vector fast enough it wouldn't matter, but I assume your doing stuff with your character that requires it to look good~
      Best of luck with your project!

  • @flass.l.delgado6913
    @flass.l.delgado6913 2 หลายเดือนก่อน

    animation_tree["parameters/anime_mover/blend_position"]=direction pon eso y listo