UnityGenericIKSystem
An easy to understand and open source implementation of Inverse Kinematics for Unity 3D
UPDATE :
The lengths are now calculated automatically, no need to manually type them.
UPDATE :
As, the algorithm that the plugin follows make changes in the hierarchy, a reset button is added to revert back to original scene.
Steps to use plugin
- Download the IKSolver script in your Assets
- Make sure your bones are not having child-parent relations
- Seperate them if they do have it
- Create two empty gameobjects for Target and Pole
- Assign IKSolver script to Target gameobject
- Assign Bone Transforms to the script in order of leaf to root
- Set lengths of bones in world space
- Assign Pole Transform to the script as well
- Set iteration count as less as possible such that the system accurately follows the target
- Enable EditMode option if you want to test IK in Unity Scene window
License : MIT
Work Work...