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

Undockable! Sometimes. #114

Open
Taose opened this issue Apr 29, 2017 · 0 comments
Open

Undockable! Sometimes. #114

Taose opened this issue Apr 29, 2017 · 0 comments

Comments

@Taose
Copy link
Owner

Taose commented Apr 29, 2017

Encountered with the experimental build, but present in master.

During a cargo mission, two deliveries to system x, which required meeting with two vessels. Unfortunately, these vessels have a tendency to park themselves close to planets or other objects of sufficient dominance and docking area in such that the docking area actually overlaps rather than "intersects" should we say.

Logically speaking, the closer to an object you are, the greater the likelihood you should dock with that particular object, regardless of which has the largest docking range. Planets for example can be docked from about 1000km depending on size, while ships are typically much much less, akin to a few hundred meters. At those ranges I shouldn't be docking with the planet but the ship as a matter of preference.

The solution would appear to be relatively simple, upon pressing the d key, check for docking areas if multiple docking areas present, store them all and cycle through to check which one is closest, with a preference to dock with ships rather than planets. So if ship closer than planet and ship dock in range, dock with ship else planet.

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

No branches or pull requests

1 participant