Awesome
Aim-IK
<img src="https://github.com/ehsan-mohammadi/Aim-IK/blob/master/Images/Aim-IK-logo.png?raw=true"/>A Unity package, to procedurally orientate the character's head (and spine) in a direction without using any animation data.
Aim-IK, is a Unity package, to procedurally orientate the character's head (and spine) in a direction without using any animation data. This comes as a correction on (some) joint(s) rotation, on top of the current animation.
<p align="center"><img src="https://raw.githubusercontent.com/ehsan-mohammadi/Aim-IK/master/Images/Aim-IK-gif.gif"/></p>Aim-IK features
Aim-IK 3D
- Control character head in a direction without using any animation data.
- Control character spine parts in a direction without using any animation data, too.
- Limit the head rotation in 3 axes.
- Limit the spine parts rotation in 3 axes.
- Eyes offset.
- spine part offset.
- Smooth look at.
- Draw eye line.
- Draw spine part line.
Aim-IK 2D
- Control character head in a direction without using any animation data.
- Control character spine parts in a direction without using any animation data, too.
- Limit the head rotation in z axis.
- Limit the spine parts rotation in z axis.
- Eyes offset.
- spine part offset.
- Smooth look at.
- Draw eye line.
- Draw spine part line.
Getting started
Follow one of these steps:
Download from Unity Package Manager
- In Unity, follow
Window > Package Manager
. - In the opened window, click on
+
button and selectAdd package from git URL
. - Then paste
https://github.com/ehsan-mohammadi/Aim-IK.git
git URL. - Click on
Add
button and let it download the package.
Download .unitypackage file
- Simply, download
Aim-IK.unitypackage
file and import it to your project.
Download the source code
- Clone a copy of the repo:<br />
git clone https://github.com/ehsan-mohammadi/Aim-IK.git
- Copy entire
Aim-IK
folder to your project.
For more information, read Aim-IK Wiki carefully.
Contributing
You can help this project by reporting problems, suggestions or contributing to the code.
Report a problem or suggestion
Go to Aim-IK Issue tracker and check if your problem/suggestion is already reported. If not, create a new issue with a descriptive title and detail your suggestion or steps to reproduce the problem.
Contribute to the code
If you know how to code, I welcome you to send fixes and new features.
License
Aim-IK is available to anybody free of charge, under the terms of MIT License (See LICENSE).
Contacts
Email: mohammadi.ehsan1994@gmail.com <br/> Linkedin: https://linkedin.com/in/ehsan-mohammadi <br/> Twitter: https://twitter.com/EhsanMhdi