public void ResetBodies() { Inertia.Body[] array = this.bodies; for (int i = 0; i < array.Length; i++) { Inertia.Body body = array[i]; body.Reset(); } }
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); }