Beispiel #1
0
 public override Vector GetPosition()
 {
     return(new Vector(Vessel.findWorldCenterOfMass() - CurrentVessel.findWorldCenterOfMass()));
 }
Beispiel #2
0
 // TODO: We will need to replace with the same thing Orbitable:DISTANCE does
 // in order to implement the orbit solver later.
 public ScalarValue GetDistance()
 {
     return(Vector3d.Distance(CurrentVessel.findWorldCenterOfMass(), Vessel.findWorldCenterOfMass()));
 }