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

Broken orbit rendering #8

Open
petronius opened this issue May 26, 2016 · 1 comment
Open

Broken orbit rendering #8

petronius opened this issue May 26, 2016 · 1 comment
Labels

Comments

@petronius
Copy link
Owner

Orbit.from_true_anomaly() will return a v_position with a flipped sign on the y axis in many cases. This likely due to calculating the eccentric anomaly from arctan() (and not arctan2, thus the angle ending up in the wrong quadrant), but I am not sure.

This is only a problem with the orbit plotting code, though, and doesn't affect actual spaceship movement.

@petronius petronius added the bug label May 26, 2016
@petronius
Copy link
Owner Author

Could also be related to the rendering of the orbit. Under certain cases broken orbits appear to rotate the camera when the focus isn't on the origin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant