dkavolis / Ferram-Aerospace-Research

Aerodynamics model for Kerbal Space Program
Other
80 stars 32 forks source link

Some mk2 adapter parts show asymmetrical lift and voxelization #56

Closed ildifa closed 5 years ago

ildifa commented 5 years ago

Some Mk2 adapter parts show a noticeable asymmetry in the lift produced, as can be seen from these pictures:

Screenshot (64)

Screenshot (66)

I guess this is due to an incorrect voxelization: Screenshot (65)

This happens to me with Mk2 to 2.5m adapters, with the Mk2 inline cockpit, and also with Mk2 to Mk3 adapters (both straight and slanted). However, there is apparently no problem with 1.25m to Mk2 adapters.

dkavolis commented 5 years ago

Can you try adding

@PART[adapterMk3-Mk2]:AFTER[FerramAerospaceResearch]
{
    @MODULE[GeometryPartModule]
    {
        %forceUseMeshes = true
        %ignoreIfNoRenderer = true
    }
}
@PART[adapterMk3-Size2Slant]:AFTER[FerramAerospaceResearch]
{
    @MODULE[GeometryPartModule]
    {
        %forceUseMeshes = true
        %ignoreIfNoRenderer = true
    }
}
@PART[adapterMk3-Size2]:AFTER[FerramAerospaceResearch]
{
    @MODULE[GeometryPartModule]
    {
        %forceUseMeshes = true
        %ignoreIfNoRenderer = true
    }
}
@PART[adapterSize2-Mk2]:AFTER[FerramAerospaceResearch]
{
    @MODULE[GeometryPartModule]
    {
        %forceUseMeshes = true
        %ignoreIfNoRenderer = true
    }
}

to an MM patch? This will fix assymetrical voxelization. Inline cockpit looks to be voxelized symmetrically.

ildifa commented 5 years ago

I pasted it at the end of FARVoxelGeometryOverrides.cfg, and it fixed the bug. Fantastic! :)

Screenshot (71) Screenshot (72)

I thought there was a problem with the direction of the cockpit's lift vector; now I realized that it was just a misunderstanding on my part... Thanks for the fix!