rtoole13 / Orbital

Orbital Unity sandbox
5 stars 0 forks source link

Remove body.velocity = OrbitalVelocityToWorld in LeaveSphereOfInfluence() #12

Closed rtoole13 closed 4 years ago

rtoole13 commented 4 years ago

Bit of a hack to deal with the awkward calculation of sourceRelativePosition and sourceRelativeVelocity in CalculateOrbitalParametersFromStateVectors(), which arguably might should not be called at all during LeaveSphereOfInfluence?