EasyIK - A fast and simple Inverse Kinematics solver (FABRIK) for Unity.
Showcase video: https://youtu.be/rYnmHs97CVI
Setup
- Drag and drop the script on the root joint.
- Set the number of joints that will be affected.
- Assign a transform that will be used as the IK Target.
Settings
Pole Target: The Pole target is used to constraint the rotation of the elbow/knee joint. (Pole Target is only compatible with 3-joint IK chains).
Iterations: How many times the IK solver is allowed to iterate through the chain to reach the target. The iteration will stop if the target is reached or if the maximum number of iterations is reached.
Tolerance: Margin of error between the positions of the end joint and IK Target. If the Tolerance is set to 2, the target will be reached when the end joint is 2 units away from the target. If the Tolerance is 0, the target will be reached when end joint is 0 units away from the target.
Debug: Show or hide visual debugging gizmos for joints, rotations, pole, etc.
Version
- Unity 2019.4.34f1 LTS
- Unity 2020.3.41f1 LTS
- Unity 2021.3.11f1 LTS
License
See the LICENSE file.