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: https://www.youtube.com/channel/UC-_Ca9zwwTwzYzgNXs4qzQQ?sub_confirmation=1
► Assets used in the video
● Download the Unity Third Person Controller: https://assetstore.unity.com/packages/essentials/starter-assets-thirdperson-updates-in-new-charactercontroller-pa-196526
● Download the Weapons: https://assetstore.unity.com/packages/3d/props/guns/guns-pack-low-poly-guns-collection-192553
● Learn more about the Unity Animation Rigging Package: https://docs.unity3d.com/Packages/com.unity.animation.rigging@1.0/manual/index.html
● Get the Project files on GitHub: https://github.com/TareqMalkawi/Unity-Tutorials/tree/master/Equipment%20System%20using%20IK
● Watch the Previous video: https://youtu.be/C9ps9dN6EXA
-----------------------------------------------------------------------------------------------------
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