r/unity_tutorials • u/AlanZucconi • Sep 21 '20
Inverse Kinematics in 3D ● Complete Unity Tutorial 💪🤖
60
Upvotes
2
u/nlax76 Sep 21 '20
I was actually about to start dabbling with IK this week! Thusfar have only followed "do this, do that" tutorials on how to use IK to manipulate a rig, but I would like to have a better understanding of the concepts. Thanks for posting this.
3
u/AlanZucconi Sep 21 '20 edited Sep 21 '20
You're welcome! I also posted a series on a more advanced technique which uses gradient descent, if you are interested!
7
u/AlanZucconi Sep 21 '20
Hi everyone! 👋
For the ones that have been following my blog for some time, you know that I have a passion for inverse kinematics. I have written several articles and libraries on the subject, and I want to share the latest one with you.
This tutorial, Inverse Kinematics in 3D, shows what is possibly the most efficient way to move a simple robotic arm towards a target. The solution presented here is perfect for arms and legs, as they both have two joints (hip/knee, shoulder/elbow).
This tutorial is part of a three-part series; the first two focused on Inverse Kinematics in 2D.
Part 1. Inverse Kinematics in 2D: The Mathematics
Part 2. Inverse Kinematics in 2D: The Code
Part 3. Inverse Kinematics in 3D
I hope you will find this interesting. And if you end up using this solution in your game, please feel free to share a video with me! I'm always curious to see what people are making!
🧔🏻