Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag fixes for hollow parts and cosmetic variants #365

Merged
merged 3 commits into from
Feb 11, 2019
Merged

Drag fixes for hollow parts and cosmetic variants #365

merged 3 commits into from
Feb 11, 2019

Conversation

DMagic1
Copy link
Contributor

@DMagic1 DMagic1 commented Feb 11, 2019

Many parts have only cosmetic variants, with little or no mesh changes. There is no need to be generating multiple drag cubes for these, so useMultipleDragCubes is turned off for ModulePartVariants.

Some parts are hollow in ReStock that weren't in stock, this fixes that by using the YN and YP values from their stock counterparts in their drag cubes.

The new stock toroid tank does not use correct drag cubes, but the old version does, so the ReStock drag cube takes its YN/YP values from the old version.

For the 0.625m heat shield the drag cube from the config was removed and instead it will generate cubes for the shrouded and unshrouded versions; the same behavior as the other heat shields.

Plug the drag hole in the tall 2.5m to 1.25m adaptor.
Plug the drag hole in the toroid fuel tank.
Plug the drag holes in the large and small stack probe cores.
Let the 0.625m heat shield generate cubes for the shrouded and unshrouded versions.
The YP and YN values are taken from their stock counterparts. The other values are as generated for ReStock meshes.
@ChrisAdderley
Copy link
Contributor

I'm good for this except for the heat shield change - we do need a way to preserve the stock heat shield's drag cube here because it has considerable effects on occlusion and some effects on thermal behaviour.

@DMagic1
Copy link
Contributor Author

DMagic1 commented Feb 11, 2019

In that case it should be as updated. The "Clean" value is taken directly from the stock drag cube. The shrouded value is what the system generates for the ReStock heat shield, and should actually match the 0.625m drag profile better.

@ChrisAdderley ChrisAdderley merged commit 63c57bf into PorktoberRevolution:master Feb 11, 2019
@ChrisAdderley
Copy link
Contributor

Looks good then! merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants