Weapons Equipment System using IK | Unity Animation Rigging | Unity Tutorial

Поділитися
Вставка
  • Опубліковано 29 чер 2024
  • In this video, we dive deep into Inverse Kinematics (IK) in Unity! Learn how to leverage the Unity animation rigging package and utilize the Two Bone IK Constraint to perfectly position your character's hand on their weapon.
    ❤️ Subscribe to My Channel: / @tareqgamedev
    ► Assets used in the video
    ● Download the Unity Third Person Controller: assetstore.unity.com/packages...
    ● Download the Weapons: assetstore.unity.com/packages...
    ● Learn more about the Unity Animation Rigging Package: docs.unity3d.com/Packages/com...
    ● Get the Project files on GitHub: github.com/TareqMalkawi/Unity...
    ● Watch the Previous video: • How to Create a Third ...
    Follow me on Instagram: / tareqmalkawi11
    Check out my projects: tareqgamedev.com/projects/
    -----------------------------------------------------------------------------------------------------
    Time Stamps:
    0:00 Intro
    0:56 Scene Setup
    2:16 What is in this tutorial?
    2:48 Unity Animation Rigging Package
    4:25 Rig Setup
    5:39 Two Bone IK Constraint
    8:41 Weapons Preparation
    11:54 Weapons Detection using Raycasts
    15:10 Equip Weapons without IK
    19:39 Why do we need IK?
    22:52 Equip Mode & Aiming Mode
    24:00 Equipment System using IK
    33:49 Aiming Mode
    37:46 Weapons Unequipping
    43:07 Final Result
    #unity #unity3d #gamedev
  • Навчання та стиль

КОМЕНТАРІ • 12

  • @peche87_gameDev
    @peche87_gameDev 4 дні тому

    I really like how you explain all and the pacing for each part. I would like to see a continuation of this same topic showing other animation states like shooting and reloading. It could be nice to see these topics as a second part with the same style you already did here. Great work, thanks for sharing it!

    • @tareqgamedev
      @tareqgamedev  3 дні тому

      Thank you, I'm glad you enjoyed it. To handle shooting animations, more advanced techniques like aim offset with IK are necessary if we want the shooting to feel good, for reloading it's not that hard, if we have a reloading animation we can use IK to place the player's hand on the clip while plying the animation to create realistic reloading. I'm currently working on an advanced locomotion series in Unreal Engine, with the first part already uploaded. In this series, I'll cover advanced topics such as aim offset with IK. In the future, I also plan to discuss shooting and weaponry systems including reloading. I recommend following this series, even if you use Unity, as the principles are the same.

    • @peche87_gameDev
      @peche87_gameDev 3 дні тому

      Thanks for the quick response! I'll be checking your next posts.

  • @UnityVista
    @UnityVista 21 день тому

    This tutorial is really awesome and great and it helps beginners a lot ❤ i have much experience of unity now a days but still the IK feels like blender's Geometry nodes, both are really much tough as think but you breakdown this in so easy way thank you so much ❤

    • @tareqgamedev
      @tareqgamedev  21 день тому

      You're welcome. I am happy you found the tutorial helpful.

  • @edupantoja1210
    @edupantoja1210 27 днів тому

    Nice video. I would like to see how you do the inventory system too.

    • @tareqgamedev
      @tareqgamedev  27 днів тому

      Thank you! I initially planned to create a series on inventory systems, but when I looked it up after uploading the video, I found numerous tutorials on inventory systems in Unity. Therefore, I decided not to create another inventory series. I am currently working on a comprehensive series about a locomotion system in Unreal Engine 5 and C++, covering basic movement, and advanced topics like turning in place, leaning, and more, which takes a huge amount of time and effort, and I am not even sure when I will upload the first video, so maybe in the future, I will consider creating a new series focused on implementing an inventory system. Thank you again, and I'm glad that you found the video helpful.

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

    Thank you very much for the tutorial. I don't mind the voice but it is hard to work out what you are clicking on without mouse visuals. I can't work out how to get aiming to work in game so I can alter the hand position

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

      Hi @drr1867. I'm glad the tutorial was helpful for you. You're right, I forgot to turn on the mouse capture while filming the tutorial. I'll make sure to turn it on in the upcoming videos. As for aiming, I'm not sure exactly what issues you're facing. Did you try aiming the same way I did in the video? I know I didn't explain the upper layer animation part as the video was getting too long, but I did everything in the video, so maybe you could slow down the video and follow along. Additionally, could you explain more about the issue you faced while implementing aiming so I can help you better?

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

    its really difficult to listen to the AI voice - i would rather have some poorly translated piece with a heavy accent.

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

      Thank you for your comment. I understand your concern. Moreover, the video has a translation that you can turn on and follow. I will try to change the AI voice to something more clear in the future.

    • @Hoptronics
      @Hoptronics 19 днів тому +1

      ​@@tareqgamedevIt's not so bad.