diff --git a/lib/navigation.ks b/lib/navigation.ks index 19b0304..7d80eb5 100644 --- a/lib/navigation.ks +++ b/lib/navigation.ks @@ -66,8 +66,7 @@ function ExecNode { } print "Adjusting heading". - // The vector constant here should always align our "sides" with the universal up/down axis, so we can predictably place solar panels. - lock STEERING to LookDirUp(NEXTNODE:DELTAV, V(0,0,90)). + lock STEERING to LookDirUp(NEXTNODE:DELTAV, SHIP:FACING:TOPVECTOR). wait until VAng(SHIP:FACING:FOREVECTOR, STEERINGMANAGER:TARGET:FOREVECTOR) <= 0.1. print "Warping to node.".