From a99912e3ae671431993ac6a24331acd8ab216498 Mon Sep 17 00:00:00 2001 From: annabunches Date: Mon, 23 Aug 2021 01:47:38 -0400 Subject: [PATCH] Remove rotation during node execution. --- lib/navigation.ks | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.".