I'm trying to get my characters rig to go from hand IK 0 to 1 over a period of time instead of just snapping to it. How could I go about doing that?
public TwoBoneIKConstraint rightHandIK; //on animator manager script // getting hand IK from inspector so can change weight
public TwoBoneIKConstraint leftHandIK; //on animator manager script
if (animatorManager.isAimingGunn)
{
animatorManager.leftHandIK.weight = 1;
animatorManager.rightHandIK.weight = 1;
horizontalMovementInput = 0f;
verticalMovementInput = 0f;
}
else if(animatorManager.isAimingGunn == false)
{
animatorManager.rightHandIK.weight = 0;
animatorManager.leftHandIK.weight = 0;
}