예제 #1
0
 public void ResetBodies()
 {
     Inertia.Body[] array = this.bodies;
     for (int i = 0; i < array.Length; i++)
     {
         Inertia.Body body = array[i];
         body.Reset();
     }
 }
예제 #2
0
 protected override void OnModifyOffset()
 {
     Inertia.Body[] array = this.bodies;
     for (int i = 0; i < array.Length; i++)
     {
         Inertia.Body body = array[i];
         body.Update(this.ik.solver, this.weight, base.deltaTime);
     }
     base.ApplyLimits(this.limits);
 }