post-kerbin-mining-corporation / StationPartsExpansionRedux

Adds an extensive set of space station parts to Kerbal Space Program
54 stars 43 forks source link

Fix missing `affectDragCubes = false` B9PS entries causing various issues. #315

Closed gotmachine closed 3 months ago

gotmachine commented 1 year ago

Some SSPX configs missing affectDragCubes = false entries on some B9PS modules. Any part that has a ModuleDeployableCentrifuge or ModuleDeployableHabitat, and also one or more ModuleB9PartSwitch where some transform are switched must define affectDragCubes = false in those B9PS modules to prevent B9PS generating additional procedural drag cubes that will interfere with the non-procedural ones defined in the SSPX deployable modules.

Failing to doing so results in the following log entries on part load :

[ERROR] [Part sspx-expandable-centrifuge-5-1] [ModuleB9PartSwitch 'endcapSwitch2'] Cannot reassign cube weights: had 2 cubes before but now have 4.

Apart from making the drag cubes wrong (and consequently aero/thermal part properties), it can produce kraken-like events under specific circumstances as reported in https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/119