protected void ApplyActivation(float t, FishBody body, MuscleMC mc) { var types = new List <Spring.Type>() { Spring.Type.MuscleFront, Spring.Type.MuscleMiddle, Spring.Type.MuscleBack }; foreach (var type in types) { mc.ActivationData.ApplyActivation(t, type, body.modelData, mc.GetParameter(type)); } }
public Problem(FishBody fish, MuscleMC mc) { this.fishBody = fish; this.mcData = mc; }