Unity 3D - Generic Inverse Kinematics (IK) - Open Source - Github

preview_player
Показать описание
A Generic Inverse Kinematics (IK) plugin for Unity 3D which works with all types of rig structures.
This is because it doesn't rely on the hierarchy of the bone structure.

Plugin itself is very lightweight and can be easily controlled from the inspector.
Trick is to apply this script on every IK object you need and create separate chains to give more control over each chain.

My GitHub also has an Interpolator script that helps me give these IK transforms smooth animations quickly. Its a fairly easy plugin so I wont make a video on that. So just check that out too on GitHub.

UPDATE : Lengths are now calculated automatically.
UPDATE : Added a reset hierarchy button to undo changes done by plugin.

Here is the GitHub link:

#Unity3D #FreePlugins

Write in comments section if you find any bugs..
Or you are always welcomed to submit contribution request on github.

License is : Do whatever you want
Рекомендации по теме
Комментарии
Автор

ok for guys confused about how to makes the bones.youll need blender.
1]make cuboids you need and set their scale to 1, so that when you import those cuboids to unity, their scale under transforms will be 1 1 1
2]change the pivot point to the top of the bone in blender and then make sure the same is reflected in unity by toggling to pivot view from center view
3]create an empty transform and place it at the end of the last bone

sids
Автор

woooow..Awesome...keep doing what you are doing.You did it open source and that is an amazing thing.Thank you for that.

samdavidpaul
Автор

Thanks I subscribed man! I like the simple solutions you are offering. If I use them in any of my concepts I’ll let you see!

Tdddy
Автор

Thanks for the video!
How would you go about limiting the relative rotations at the joints. For example, to not allow the angle between top and mid bones to go above 120 degrees?

sinasinaie
Автор

Hi,
If I parent all the bone to the root bone just like the P2design will it work, will I able to make the character aim or look different directions or rotate the bone ?

CopyCatBlack
Автор

Can't add script component 'IK' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match.
i get this error message

mattz
Автор

Please make a tutorial on how to make the bones and updated tutorial

HillmanSetyo
Автор

THANKSSS YOUUU!!!! you deserve more subss! i'll give you credits on my game

suricato
Автор

It would be much better if you make a small tut for this how to setup the character for generic rig

CopyCatBlack
Автор

so... if i am using it on a generic human module... do i need to separate the bones of hand and arm? i mean most of the character's bones are having child parent relations... if i do this then the character will look weird...

delayshanchen
Автор

btw, u have no need for creating a new gameobject for bones

heyer
Автор

I attached my issue on your github page

HillmanSetyo
Автор

And I can't go back with control z, I need to copy and paste a new leg and add all the stuff again
fml

Albert-Freeman
welcome to shbcf.ru