Fix satdeploy.

This commit is contained in:
Anna Rose Wiggins 2021-08-08 20:47:14 -04:00
parent 1860572067
commit 324d9ab7a3
5 changed files with 28 additions and 30 deletions

View file

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