Inverse Kinematics Animation in Godot (Tutorial)

Поділитися
Вставка
  • Опубліковано 10 чер 2024
  • Discover 2D Animations in Godot 4, explore Inverse Kinematics vs. Forward Kinematics, and compare Unity to Godot. Join our indie game dev team on this journey to switch our platformer to Godot.
    Check out Oakleys Adventure on Android and iOS:
    📱 Android:
    play.google.com/store/apps/de...
    🍏 iOS:
    apps.apple.com/at/app/oakleys...
    #indiedev #gamedevelopment #UnityToGodot #indiegame #gamedev #godot #Unity

КОМЕНТАРІ • 42

  • @papydur
    @papydur 7 місяців тому +14

    I was having issues with flipping the character when using IK, have you found a workaround for that?

    • @FiddleStoneGames
      @FiddleStoneGames  7 місяців тому +11

      Yes, and we needed that workaround in our latest Video. However we are not explicitly mentioning it:
      You can use a SubViewport as a parent for your IK character.
      Move your character roughly in the middle of the screen (use the inspector X and Y, since the Move tool is a bit buggy in the viewport)
      Then you create a Sprite and use it as the texture for the ViewPort. That means you project what's inside the Viewport to just one single sprite
      Then you can flip the Sprite using the flip_h function.
      All of that needs to be part of your moveable character, so it's like an in-between layer.
      Performance wise it is a really bad workaround, but it is the only one that we found that worked for us, so we wait until it is patched.
      There already is a pull request for this issue:
      github.com/godotengine/godot/pull/81051

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

      Does scale.x *= -1 work?
      ı remember using this method but I wasnt using IK that time.

  • @strgn1360
    @strgn1360 7 місяців тому +69

    That intro goes hard XD

    • @GodotNoContext
      @GodotNoContext 6 місяців тому +1

      Guess who is on the dark side here.

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

      I'd watch it

  • @sheepcommander_
    @sheepcommander_ 6 місяців тому +11

    that intro actually went so hard i wasn't prepared 😭

  • @wardeng9
    @wardeng9 3 місяці тому +4

    Therapist: Godot Grievous doesn't exist, he cant hurt you.
    Godot Grievous:

  • @DarkGamesCompany
    @DarkGamesCompany 6 місяців тому +5

    Bro created GigaGodot, the Ultimate Four-Saber-Arms robot made of Godot Icons.

  • @anonymousme3571
    @anonymousme3571 3 місяці тому +7

    It's not really a tutorial? You explained what it is, but not really how 😅

    • @grilleFire
      @grilleFire 17 днів тому +2

      Worst tutorial ever.

  • @firesoul453
    @firesoul453 7 місяців тому +10

    Great intro!

  • @dimaredko2091
    @dimaredko2091 2 дні тому

    Dominik Caprese. No, wait. Too catchy. That is mine

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

    i'm a simple man
    i saw godot grievous
    i subscribed 😂

  • @dabiddooodesign1857
    @dabiddooodesign1857 7 місяців тому +4

    Do you have full video on how you animate the chief character?

  • @anytng2077
    @anytng2077 6 місяців тому +1

    I'm happy that Godot is better than I thought. Great tutorial, I learnt quite a few things. :) Btw, what song was played in the beginning after the 10/10 intro? 😂

  • @JosephCatrambone
    @JosephCatrambone 6 місяців тому

    Give him Halo-esque Spartan armor and call him Master Chef.

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

    Pippo Pizzoccheri!
    Pippo is the diminutive of Filippo or Giuseppe.

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

    bro i still have no idea how to set up ik 2d bones from empty project ?

  • @StaredownGames
    @StaredownGames 6 місяців тому

    You forgot Alberto (Alboyto?) Alfredo. The best one!

  • @javi1988
    @javi1988 7 місяців тому +2

    Excelent tutorial

  • @MJ-ev4nw
    @MJ-ev4nw 3 місяці тому

    Hi thanks so much for the video. would it be possible you could share a link to the project file? I've been trying so hard to create the Skelton of an arm really similar to this one and have it function but keep running into issues. I would be so grateful to see how it is set up here so I can learn for my project. thank you very much

  • @mikeysaurlol
    @mikeysaurlol 6 місяців тому

    Stefan Spaghetti, can't get much more italian cuisine than that

  • @assassino-ug9re
    @assassino-ug9re 7 місяців тому +3

    Except the fact that's actually a really useful video, how did you manage to keep the markers for your inverse kinematic anchored to the body of the character?? Whenever I try to use some node2D or marker2D as targets for IK they just wonder around if I try to move them

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

      Thank you for your feedback!
      When you create the IK for an Arm you have a rotation point for the upperArm and the lowerArm.when you place the target in the level of thr arm your target will rotate infinitely
      You need to place it at least in the parent of the limb you want to rotate, so in that example on the body to ensure that its own position would not be affected by the rotation of the limb it controls

    • @assassino-ug9re
      @assassino-ug9re 7 місяців тому

      @@FiddleStoneGames Yeah, the thing I'm not getting is how to stick the target node position to the limb itself, like you did in the flamingo one, which armtarget position even if modified, still sticks to the original arm. When I do it instead, the target just goes everywhere I place it.

    • @MJ-ev4nw
      @MJ-ev4nw 3 місяці тому

      ​@@assassino-ug9rehi there, did you figure this out? trying to work out the same thing and running into issues. would be so grateful if you have a working project you could link to!

    • @assassino-ug9re
      @assassino-ug9re 3 місяці тому

      @@MJ-ev4nw no sorry man, i just decided to adopt forward kinematics instead, it was just faster for me

  • @rapex2729
    @rapex2729 5 днів тому +1

    Wie macht man Gelenke und animiert sie damit? Ich verstehe das "Tutorial" nicht

  • @Lansamatv
    @Lansamatv 6 місяців тому

    You can make a tutorial for a survival io style game in godot

  • @ArchonTheGrey
    @ArchonTheGrey 6 місяців тому +1

    What about Al Dente?

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

    Liking and commenting based on the intro alone

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

    Sub'd due to the intro!

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

    Meatball Mike

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

    IF inverse kinematic were to be fixed in 4.2/4.3
    Would it break your animation? :x

    • @FiddleStoneGames
      @FiddleStoneGames  7 місяців тому +2

      That alone wouldn't break our animations because our workaround is to not use the problematic usecase :)
      However, since the AnimationTree and the AnimationPlayer get merged to be just one Node (AnimationMixer) in 4.2, switching now will definitely break the animations
      We will wait until 4.2 leaves the testing phase, and then there will probably be a migration guide to minimize the risk of breaking anything (as they did for 4.1)

    • @michaelheyn2484
      @michaelheyn2484 14 днів тому

      @@FiddleStoneGames Has this got any better/

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

    很棒,你讲了6分多钟,但我还是不知道怎么绑定一个ik。

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

    Pedro Pomodore! 🤣

  • @Frustratedhen
    @Frustratedhen 6 місяців тому

    Please 3d mouth riging 😢😢

  • @I_like_planets
    @I_like_planets 26 днів тому

    Why I got BJP ad here😂?