Project

General

Profile

Bug #27286

Physics changes after reverting to launch

Added by meltingSnowdrift about 3 years ago. Updated about 3 years ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
Physics
Target version:
-
Start date:
02/16/2021
% Done:

0%

Version:
Platform:
Windows
Expansion:
Breaking Ground
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

KSP version information
KSP 1.11.1 on Windows with breaking ground expansion, 64-bit, not Steam

Steps to reproduce
Launch the attached craft file at the runway from the spaceplane hangar with a kerbal in the command seat.
Activate the abort action group.
Wait until the parachute opens, which should occur 5 seconds after activating the action group.
Revert to launch.
Activate the abort action group again.

Expected behaviour
What happens upon activating the abort action group after launching from the spaceplane hangar should be identical to what happens upon doing so after reverting to launch.

Observed behaviour
See this video: https://www.youtube.com/watch?v=0oVuRl5K-jU

After reverting to launch, it appears to me that there occur changes to the physics of the game. Repeatedly reverting to launch does not further affect this behaviour and will repeatedly produce the altered behaviour. Reverting to the spaceplane hangar and launching again will produce the original behaviour, which can again be turned into the altered behaviour by reverting to launch.

bug demonstrator.craft (32 KB) bug demonstrator.craft Use this craft file to reproduce the bug. meltingSnowdrift, 02/16/2021 06:38 AM
Player.log (801 KB) Player.log This is the closest thing I could find to the "output_log.txt" file described in the instructions. meltingSnowdrift, 02/16/2021 06:43 AM
DxDiag.txt (103 KB) DxDiag.txt meltingSnowdrift, 02/16/2021 06:45 AM
swing.craft (23.2 KB) swing.craft ver 1.3.1 craft, Kerbal swings too slowly if seated in VAB Anonymous, 03/06/2021 07:07 PM
screenshot27.png (2.86 MB) screenshot27.png weeeeee... Krazy1, 03/26/2021 10:45 PM
4_swings_test.craft (107 KB) 4_swings_test.craft Krazy1, 03/26/2021 10:48 PM
56527

History

#1 Updated by [email protected] about 3 years ago

I do think it doesn't change physics but it might be related KSP forgetting absolute rotation of vessel, or if reverting to back to launch vessel isn't physically locked anymore when its at stability enchancers. It feels when you have fresh vessel it is more sturdy standing than it is when coming back to it later. It feels too that if you have vessel at launching pad it is more sturdy than vessel with same conditions at runway. So there might be some in-game parameter which stands for pre-launch condition, which it forgets when you revert back to launch.

#2 Updated by meltingSnowdrift about 3 years ago

I am not convinced about that interpretation. Here is another video I made earlier demonstrating that something similar occurs in a way that is less likely to involve launch clamps: https://www.youtube.com/watch?v=nM2v9qgnTSw
I originally did not include that video because the procedure to reproduce was not as perfectly repeatable as the one I eventually made. I am including it now because it may help in distinguishing between potential causes of the problem.

#3 Updated by [email protected] about 3 years ago

There is good odds that it's KAS bug too. Can you check KAS values before launch, and after revert? KAS have some bugs, related to it forget some commands and sometimes even mixing commands with other vessel nearby, it can be possible there is timing bug too.

#4 Updated by meltingSnowdrift about 3 years ago

What do you mean by KAS? As far as I know, "KAS" refers to a mod which was definitely not installed on the stock KSP installation I used to reproduce the bug. Considering the context, this is presumably not what you mean. Google searches for "KSP KAS values" and similar search strings did not produce any relevant results on the first page.

#5 Updated by Anonymous about 3 years ago

Confirming the bug, using the craft file in the top post (but I can no longer change the 'Status' field from New to Confirmed). A simple craft with Kerbal in the seat on top of a Flea booster also shows a difference between first load and revert.

We can turn off drag, and turn gravity down to 1% normal, using the Alt-F12 cheat/debug menu, and the first load still simulates the physics wrongly. So, it is not a difference in drag or sagging launch clamps. The mass of the craft is identical in each case.

If the Kerbal is in that chair when 'launched' from the VAB or SPH (a relatively new feature) then the Kerbal has an extremely large moment of inertia, slowing the initial rotation of the unstable ejection seat. Reverting to launch, or quicksave/quickload, corrects the problem.

I'll attach a craft file that lets a Kerbal swing on a swinging chair. If you load the Kerbal on the chair before exiting the SPH or VAB, the swinging is unnaturally slow.

#6 Updated by Krazy1 about 3 years ago

56527

Interesting test k-ohara. I was not able open your swing file in KSP 1.11.2 on Win10. There were errors and it said the version is not compatible.

I made another swing test file with 4 swings. The first in the front with FL-T100 only SHOULD BE the slowest, followed by the Kerbals (faster if they have cargo) and fastest is the rear swing with an extra Oscar-B on the arm. It's surprising physics but the extra mass closer to the hinge makes the moment arm shorter and period smaller.

At "launch" the kerbal swings go slower than the other 2 on the ends without chairs. This is not possible unless the kerbals have extremely high inertia. Revert to launch fixed this: the Kerbals swing period is now between the other 2 swings as expected. An empty chair works as expected - the problem is when there's a kerbal in the chair.

Also available in: Atom PDF