コード例 #1
0
 public override void Process()
 {
     base.Process();
     currentValue = ((!signedOutput) ? output.value : Mathf.InverseLerp(-1f, 1f, output.value));
     currentAngle = Mathf.Lerp(fromAngle, toAngle, currentValue);
     joint.ApplyXAngle(invInitialLocalRotation, currentAngle);
 }