Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix small error when switching from/to inverse rotation #8

Open
gavazquez opened this issue Jul 18, 2019 · 0 comments
Open

Fix small error when switching from/to inverse rotation #8

gavazquez opened this issue Jul 18, 2019 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@gavazquez
Copy link
Member

gavazquez commented Jul 18, 2019

Whenever you have an active vessel and you switch to/from inverse rotation. There are small rounding errors in some of the orbital parameters.

Image to clarify:

image

The LAN orbit value also changes.

Somehow it seems that the method Orbit.UpdateFromStateVectors needs some adjustments

Related documentation: https://github.com/LunaMultiplayer/TiltEm/wiki/
Related code: https://github.com/LunaMultiplayer/TiltEm/blob/master/TiltEm/TiltEm.cs#L122-L142

@gavazquez gavazquez added bug Something isn't working help wanted Extra attention is needed labels Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant