Example #1
0
 public RailInfo(GravityRail myRail, Vector2 point, Vector2 tan, float dist)
 {
     alongRail    = true;
     rail         = myRail;
     closestPoint = point;
     tangent      = tan;
     distance     = dist;
 }
 public void RemoveTrackSegment(GravityRail rail)
 {
     rails.Remove(rail);
 }
Example #3
0
 public RailInfo(GravityRail myRail)
 {
     alongRail = false;
     rail      = myRail;
 }
 public void AddTrackSegment(GravityRail rail)
 {
     rails.Add(rail);
 }