Bug #28423
Planetary encounters are often wrong and disappear or appear when crossing the targets orbit.
0%
Description
Planetary encounters on disappear/appear after the target body orbit is crossed. The issue was recreated on a clean install in a new sandbox.
Example 1 (bug1.sfs) : The ship named "Tmp" has no projected intercept with Vall (bug1a.png). When using the maneuver tool, there should not be any intercepts for about 13 days/2 orbits. But, when the ship crosses Valls orbit, an encounter appears, just half an orbit later (bug1b.png).
Example 2 (bug2.sfs) : The ship named "Tmp" is on a trajectory to intercept Vall with a Pe of 123000 m (bug2a.png). When the ship crosses Valls orbit, the projected intercept disappears (bug2b.png). The ship then never enounters Vall.
History
#1 Updated by Krazy1 about 3 years ago
Dvader - These do look like bugs but just a suggestion to make it more clear what the problem is:
1. click "MET" by the clock to see the UT (instead of the time since ship launch)
2. click the purple button, lower left, to show the orbit values
3. right click the intercept to show time (enter, exit SOI or PE - doesn't really matter which one).
With all of those, we can tell how many orbits ahead the encounter is. Is it really 1/2 orbit ahead or is it 1.5, 2.5... etc. ahead. It would help answer: Is it not drawing the prior 1/2 orbit line for the case of multiple orbits to intercept, or is missing an encounter only 1/2 orbit away when it crosses Val's orbit? Probably different code to check for each case.
#2 Updated by dvader about 3 years ago
- File bug1a.png bug1a.png added
- File bug1b.png bug1b.png added
- File bug2a.png bug2a.png added
- File bug2b.png bug2b.png added
- File bug2c.png bug2c.png added
- File bug2d.png bug2d.png added
- File bug2e.png bug2e.png added
Krazy1 wrote:
Dvader - These do look like bugs but just a suggestion to make it more clear what the problem is:
1. click "MET" by the clock to see the UT (instead of the time since ship launch)
2. click the purple button, lower left, to show the orbit values
3. right click the intercept to show time (enter, exit SOI or PE - doesn't really matter which one).With all of those, we can tell how many orbits ahead the encounter is. Is it really 1/2 orbit ahead or is it 1.5, 2.5... etc. ahead. It would help answer: Is it not drawing the prior 1/2 orbit line for the case of multiple orbits to intercept, or is missing an encounter only 1/2 orbit away when it crosses Val's orbit? Probably different code to check for each case.
Here are some new screenshots.
In bug1, Vall is just 1/2 orbit away (4 days, bug1b.png) but the intersect doesn't show until Valls orbit is crossed.
Bug2 is stranger though. The predicted intersect is actually 140 days away. There is also a "lone" blue Pe marker just to the left of Jool that seems to be from the next orbit (which is invisible). If I add a maneuver node, the indicated trajectory intersects Vall and continues along the purple path which is 140d away (bug2c.png). But, if I click +1 orbit, the correct brown dotted trajectory appears (but the Vall intercept in 140d is still there, bug2d.png). If I click +1 orbit a bunch of times to 140d, I do not get a Vall intercept on the maneuver node trajectory so I have two two different orbits with two different Pe's at almost the same time (and 0 m/s burn, bug2e.png). I hope the pictures make some sense.
#3 Updated by Krazy1 about 3 years ago
dvader wrote:
Here are some new screenshots.
In bug1, Vall is just 1/2 orbit away (4 days, bug1b.png) but the intersect doesn't show until Valls orbit is crossed.
Bug2 is stranger though. The predicted intersect is actually 140 days away. There is also a "lone" blue Pe marker just to the left of Jool that seems to be from the next orbit (which is invisible). If I add a maneuver node, the indicated trajectory intersects Vall and continues along the purple path which is 140d away (bug2c.png). But, if I click +1 orbit, the correct brown dotted trajectory appears (but the Vall intercept in 140d is still there, bug2d.png). If I click +1 orbit a bunch of times to 140d, I do not get a Vall intercept on the maneuver node trajectory so I have two two different orbits with two different Pe's at almost the same time (and 0 m/s burn, bug2e.png). I hope the pictures make some sense.
Thanks - those are very clear now and bizarre. Bug2e looks like you have discovered large-scale quantum entanglement in KSP! I hope they fix these problems... Newtonian orbits are hard enough.
May be related to #25227