- Home /
Humanoid IK question.
I have a character set up I plan to animate completely with ik. I have Empty Gameobjects that are the targets for all 4 limbs. I was wondering if there was a way I could have head-body ik. It would be nice if there was. Just wondering if this exists, or if there is an easy way this could be done. The head-body ik would basically rotate the neck and waist to try to reach the target. Also the rotation of the target would rotate the neck and waist. One thing I was thinking if there was no head-body ik is if I could modify the muscle-groups that are shown in the Humanoid rig setup. If those are accessible through a script, then I could work with that.
it is possible, but for a correct solution involves quaternion math. there's an asset for that: https://assetstore.unity.com/packages/tools/animation/final-ik-14290
Answer by I5 · Sep 11, 2018 at 03:59 PM
You won't be able to fully animate using IK. Hands and feet, that's all you can do, and only very basic pointing/directional movements. Nope, no head or body IK (you can check the docs, you only get what's in AvatarIKGoal). Not sure what you're ultimate goals is, but if you're trying to keep things simple(r) by just using IK and avoiding animation, I think you'll ultimately find yourself having to jump in and tackle the pains of animation. You basically just need an animator and some animation clips to start. It's really quick and easy to get started, but there's so many ways that you can tweak and fine tune animation to look better that it's also easy to get overwhelmed, quickly. But you may not be able to avoid it.
Oh, I also have other intentions for this, not just trying to get around using animations. I will just program a custom I$$anonymous$$ for the head/body. Thank you!
Dude/Dudess, you're going to write your own I$$anonymous$$!? Good luck. $$anonymous$$ay the bits be with you.
Ive done it before, here is an example, it is a bit glitchy, I used hinge joints and TargetAngles, It is an abandoned project now, but I did learn. https://giphy.com/gifs/3d-indie-gamedev-8BlCFV14RDlRkpNzsx
Your answer
![](https://koobas.hobune.stream/wayback/20220612174356im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to fix character mesh going through clothes? 1 Answer
Distribute terrain in zones 3 Answers
Using inverse Kinematics, how would I animate between movements? 0 Answers
Push character away 0 Answers