Custom ItemAblity with IK problem.

apits

New member
So I made a drinking ablity. All very simple.
public class EatFood : UsableItem
{
}
But the first 2sec of the animation will always have the left hand stick to grap the drink.
Works fine if I turn off IK.dkp.png
What is the better way to fix this? Many Thanks
 
You can use the State System for this, e.g. add a state preset to the CharacterIK component to effectively disable IK (set the various weights to 0), and assign that preset state name to be the name of your equipped item.
 
You can use the State System for this, e.g. add a state preset to the CharacterIK component to effectively disable IK (set the various weights to 0), and assign that preset state name to be the name of your equipped item.
Thanks. Was hoping if the inspector have option about this.
So what caused this. It must be a design for some function right? Its just odd, to turn IK off entirely. And I didnt tell it to do so.
It is from the "Use" item ablity. And I dont see grenade have this problem.
 
Well the IK by default causes the hands/arms to try to "hold" the item for various use cases
 
Top