Remove rotation during node execution.

This commit is contained in:
Anna Rose 2021-08-23 01:47:38 -04:00
parent 957f6c7d46
commit a99912e3ae

View File

@ -66,8 +66,7 @@ function ExecNode {
} }
print "Adjusting heading". 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, SHIP:FACING:TOPVECTOR).
lock STEERING to LookDirUp(NEXTNODE:DELTAV, V(0,0,90)).
wait until VAng(SHIP:FACING:FOREVECTOR, STEERINGMANAGER:TARGET:FOREVECTOR) <= 0.1. wait until VAng(SHIP:FACING:FOREVECTOR, STEERINGMANAGER:TARGET:FOREVECTOR) <= 0.1.
print "Warping to node.". print "Warping to node.".