- Home /
Adjusting humanoid character animations (Procedural animations)
I have a Humanoid Character with a sword swinging animations set up. The sword slashes straight in front of the character. I want to set up a Target on an enemy character where de sword will always slash through. Depending on where the target is placed. Like on his leg, waist, arm or neck. The animation will be adjusted so that the sword will always slice through the target (or try to, if the target is placed out of reach)
I have tried using the built in IK systems in Unity for the hand, but it does not give the desired results, due to the fact that the hand IK is trying to reach the target instead of the tip of the blade. I've used weights, parameters and animation curves. But the only result I got is the arm stretching out to try and reach the target and breaking the animation. (I believe IK isn't exactly meant for this purpose)
I've been following this tutorial: (https://www.youtube.com/watch?v=EggUxC5_lGE&t=2207s)
Does anyone have a clue as to how to solve this issue?
Your answer
Follow this Question
Related Questions
Have IK track point when it is a child of the animator but not the rig. 0 Answers
How to do inverse kinematics (IK) in Unity? 5 Answers
Do I need Inverse Kinematics? Asking for guidelines to program my own custom script 0 Answers
How can I use IK with AnimationClipPlayable or AnimationMixerPlayable? 1 Answer
Inverse Kinematics - Turn off smoothly 0 Answers