Orbit Calculation Hotfix

Turns out I've been calculating orbit positions all wrong this whole time, causing everything to orbit in the wrong direction and messing with my orbital placement; now the towing finally results in the station being placed correctly
This commit is contained in:
hyperion51 2020-05-27 03:43:30 +01:00
commit 7b33c21cd7
2 changed files with 14 additions and 6 deletions

View file

@ -127,6 +127,6 @@ public class OrbitData : DatabaseEntry
public static float2 Evaluate(float phase)
{
phase *= PI * 2;
return new float2(sin(phase), cos(phase));
return new float2(cos(phase), sin(phase));
}
}