public void Setup(JelloPhysics.World w, JelloPhysics.ClosedShape s, float massPerPoint,
     float edgeSpringK, float edgeSpringDamp, Vector2 pos, float angle, Vector2 scale)
 {
     base.Setup (w, s, massPerPoint, edgeSpringK, edgeSpringDamp, pos, angle, scale, false);
 }
 //Color mColor = Color.White;
 //Color mDistressColor = Color.Red;
 public DraggableSpringBody(JelloPhysics.World w, JelloPhysics.ClosedShape s, float massPerPoint, float shapeSpringK, float shapeSpringDamp,
     float edgeSpringK, float edgeSpringDamp, Vector2 pos, float angleInRadians, Vector2 scale)
     : base(w, s, massPerPoint, shapeSpringK, shapeSpringDamp, edgeSpringK, edgeSpringDamp, pos, angleInRadians, scale, false)
 {
     mIndexList = new List<int>();
 }
示例#3
0
 public FallingBody(JelloPhysics.World w, JelloPhysics.ClosedShape s, float massPerPoint,
     float edgeSpringK, float edgeSpringDamp, Vector2 pos, float angle, Vector2 scale)
     : base(w, s, massPerPoint, edgeSpringK, edgeSpringDamp, pos, angle, scale, false)
 {
 }
 public void Setup(JelloPhysics.World w, JelloPhysics.ClosedShape s, float massPerPoint, float shapeSpringK, float shapeSpringDamp,
     float edgeSpringK, float edgeSpringDamp, Vector2 pos, float angleInRadians, Vector2 scale)
 {
     base.Setup (w, s, massPerPoint, shapeSpringK, shapeSpringDamp, edgeSpringK, edgeSpringDamp, pos, angleInRadians, scale, false);
     mIndexList = new List<int>();
 }