KSPModdingLibs/KSPCommunityFixes

Inconsistent robotic parts strength on scene loads

Opened this issue · 0 comments

I tested on a clean install and with only KSPCF installed. Both tests appear similar so I will only include results from the KSPCF test.

Test steps:

  1. Launch the game
  2. Load a scene with the test craft (doesnt matter if the craft was freshly spawned or already existed)
  3. Observe the "current angle" field on the hinges. The closer the angle is to 90 the stronger the hinge
  4. f5/f9 the scene or revert to launch
  5. Repeat steps 3-4 4 more times

In both tests and further ones I noticed that on the first scene loads after launching the game the hinges are consistently strong(they keep the current angle at 89.6 degrees) and after that they start getting inconsistent. The bug affects hinges, servos, pistons and may affect other harder to test robotic parts. Fixing this bug will also close issue #226 because I believe the robotic parts intended strength is like in the first scene load after launching the game

Screenshots of observations, the KSP.log file and the test craft file: hingeTest.zip

Here are the screenshots:
KSPCF1
KSPCF2
KSPCF3
KSPCF4
KSPCF5