RootMotion.FinalIK.IKSolver.SetIKPositionWeight C# (CSharp) Method

SetIKPositionWeight() public method

Sets the %IK position weight. NOTE: You are welcome to set IKPositionWeight directly, this method is here only to match the Unity's built in %IK API.
public SetIKPositionWeight ( float weight ) : void
weight float
return void
		public void SetIKPositionWeight(float weight) {
			IKPositionWeight = Mathf.Clamp(weight, 0f, 1f);
		}