CargoBays (DCB) by DaMichel

CargoBays (DCB) by DaMichel

11k Downloads

Parts in closed cargo bay have drag [Bug ๐Ÿž]:

Krazy0 opened this issue ยท 11 comments

commented

Brief description of your issue (aka the problem)

Parts fully enclosed in a cargo bay still have drag. Also the PAW open / closed button always says open in either state.

Operating system

Win 10

KSP version

1.12.5

Version of addon

1.1.99.0

Steps to reproduce the behavior or issue

In Alt-F12 menu, turn on aero data in PAW. Monitor drag for part inside bay. Drove down to the runway to test. Open/ close the cargo bay. Part shows non-zero drag.
Did same test with stock and Airplane Plus cargo bays and they show zero drag when closed.

Expected behavior

No response

Actual behavior

No response

Environment

DaMichel Ltd 0.9.99.0
~80 other mods

Log files

No response

Screenshots

No response

Additional context

Airplane Plus seems to work so I'd check that code.

Also had trouble installing with Curseforge Overwolf app... it would not install both DaMichel Ltd and CargoBays. I had to install one to Steam KSP install, copy it to modded KSP install, then repeat for the other one. Maybe it deletes everything in the DaMichel parent folder when installing. Trying to install both at the same time installed only DaMichel/ Cargo Bays and it definitely doesn't work without DaMichelLtd.

Krazy1 on KSP forum

How did you download and install this?

Other (explain below)

commented

Thank you @Krazy0!

Will look into - about to update all the DaMichel addons (plan is this week).

Also had trouble installing with Curseforge Overwolf app... it would not install both DaMichel Ltd and CargoBays

Yes - either you have to install using the app and copy, or download from the site and copy. sigh One of the few known issues with the CF/OW app is the inability to install into subdirectories without wiping contents. I am pressuring CF to resolve this and CF support has been very responsive to my requests and bug reports.

Part of this issue will be resolved when I update the DaMichel addons and push the releases to CurseForge.

commented

might be the culprit:

lookupRadius

	MODULE
	{	name = ModuleCargoBay
		DeployModuleIndex = 0
		closedPosition = 0
		lookupRadius = 2.865 // 1.61
		partTypeName = Cargo bay
		nodeOuterForeID = top
		nodeOuterAftID = bottom
		nodeInnerForeID = top2
		nodeInnerAftID = bottom2
	}

and some DRAG_CUBES were missing, incorrect, or duplicated (fixed)

commented

this release should fix 90% of the issues. if you still have issues - logs kindly and which parts would be very much appreciated.

commented

@Krazy0 which parts? specific series (1.25, 1.875, 2.5, 3.75, 5)?

commented

I made a test ship with all the bays except 1.875m. All the parts inside have drag when the doors are closed or open. Surface attached (inside) or node attached all have drag. BTW, from Airplanes Plus "Size 2 Cargo Bay CRG-15" also has drag. Stock bays work OK. Some pics also showing the strange lighting
https://imgur.com/a/qxz9RBp

commented

I'm using 1.1.99.1 prerelease and I tried a new ship with a 2m long 2.5m bay
The drag is not occluded for parts inside

KSP (27).log
Player (12).log

commented

Hi, @Krazy0 ! I made some tests, and I didn't reproduced your results.

First, I made a "rocket" (easier to check the drag, as the thing accelerates faster) using an CRG-15 cargo bay. Inside the cargo bay there's a FL-TX220 Fuel Tank. Note that the drag is 0.0!

screenshot28

Now I made the same test, using a MK3 Cargo Bat CRG-25, with a FL-R400 RCS Fuel Tank inside. Please note the drag - it's low, but it's there.

screenshot27

So, apaprently, AP's cargo bay is doing a better job than Stock's ones! But there's a trick: you need to open and close the cargo bays before launch, otherwise, yeah, you will get drag on the cargo. It's probably an initialisation problem (I'm working on it).

Crafts used on the test:
VAB.CargoBayTests.1125.zip

commented

@Krazy0 Thank you - I will review and update.
@Lisias Thank you - and thank you.
There is also the plane vs rocket drag issue as explained in the Dev Diaries for KSP2 (also affects KSP)

commented

I found one 2.5 part with problems. Fixed it on Pull Request #53 .

commented
commented

Nope. WE found the trigger. The problem is some Stock parts being shipped with the wrong definitions.

CargoB did it right. Do not change anything.

This issue should be probably closed as "invalid", as the problem is on Stock.