- Home /
Question by
The_Nortalf · Aug 29, 2018 at 07:22 PM ·
animationscripting problem
AvatarIKGoal argument problem
Hi
I am trying to understand how Inverse Kinematics works. But in my code occured this error
what translated would be something like " Argument "1", can not translate from "UnityEngine.AvatarIKGoal" to "UnityEngine.AvatarIKHint".
But I don't understand what is wrong in this line. Even in Unity manual you can find line like this:
animator.SetIKPositionWeight(AvatarIKGoal.RightHand,1);
So what's wron with my code?
error.jpg
(28.8 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612173732im_/https://answers.unity.com/themes/thub/images/avi.jpg)