KSPModdingLibs / KSPCommunityFixes

Community patches for bugs in the KSP codebase
49 stars 17 forks source link

FuelLines connected to moveable parts load in the built position after f5/f9 #201

Open numberlesstim opened 6 months ago

numberlesstim commented 6 months ago

If you attach a FuelLine to a movable part (something connected to a rotorServo for example), it will not remember the correct position after f5/f9. Instead it will use the positions it did have in the editor. This happens both with and without KSPCF.

Repro steps:

  1. Load the provided craft, or build it yourselve (see pics or instructions below)
  2. Spawn it and let the bar rotate a bit
  3. Apply the brakes to stop it in a position different from the editor
  4. (optional) Lock the servo
  5. F5/F9

Note: It does not matter if the FuelLine collides with a part or not before f5/f9.

Craft: FuelLineBug.zip

  1. Place cockpit and attach a servoRotor
  2. Add a structural beam to the rotor
  3. Connect a FuelLine from the cockpit to the beam

craft

f5f9

JonnyOThan commented 6 months ago

Did you try a repro without tweakscale or other mods? There's a high chance of interference there.

numberlesstim commented 6 months ago

Yes, i did test without any mods. Same thing happens. I only already had the images taken...

gotmachine commented 6 months ago

This is more or less a duplicate of issue #101 (only with fuel lines instead of struts), so the same conclusions apply : compound parts don't support having their anchor points moved by a robotic actuator, the game lacks such a feature.

It's not impossible to implement, but so far nobody has been willing to try.

numberlesstim commented 6 months ago

Thats sad news. Guess i'll have to shelve my rowboat then. Rowboat