Skip to content

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

@gavazquez

Description

@gavazquez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions