Example #1
0
 public void AddFloor(double friction)
 {
     for (int i = 0; i < Positions.Length; i++)
     {
         var c = new FloorConstraint(i, friction);
         Constraints.Add(c);
     }
 }
 public void AddFloor(double friction)
 {
     for (int i = 0; i < Positions.Length; i++)
     {
         var c = new FloorConstraint(i, friction);
         Constraints.Add(c);
     }
 }