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:
parent
139c593ccd
commit
7b33c21cd7
2 changed files with 14 additions and 6 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue