File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -119,16 +119,6 @@ private System.Collections.IEnumerator DoFlightUpdate()
119119
120120 public void Update ( )
121121 {
122- var activeVessel = GameManager . Instance ? . Game ? . ViewController ? . GetActiveVehicle ( true ) ? . GetSimVessel ( true ) ;
123- if ( activeVessel != null )
124- {
125- var x = activeVessel . CenterOfMass ;
126- var y = activeVessel . LabelPosition ;
127- var z = activeVessel . gravityForPos ;
128- var i = activeVessel . RevealMass ( ) ;
129- var j = activeVessel . CurrentCoM ;
130- }
131-
132122 // Keyboard shortcut for opening the UI
133123 if ( ( Settings . EnableKeybinding ? . Value ?? false ) &&
134124 ( Settings . Keybind1 . Value != KeyCode . None ? Input . GetKey ( Settings . Keybind1 . Value ) : true ) &&
Original file line number Diff line number Diff line change 44
55namespace MicroEngineer . Utilities ;
66
7+ /// <summary>
8+ /// Taken mostly from Node Manager: https://github.com/schlosrat/NodeManager/blob/master/src/NodeManager/MJ/OrbitExtensions.cs
9+ /// </summary>
710public static class OrbitExtensions
811{
912 public static double NextClosestApproachTime (
You can’t perform that action at this time.
0 commit comments