/// <summary> /// Adds the floor. /// </summary> /// <param name="friction"> /// The friction. /// </param> public void AddFloor(double friction) { for (int i = 0; i < this.Positions.Length; i++) { var c = new FloorConstraint(i, friction); this.Constraints.Add(c); } }