• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

where to set wing flex rate?

Messages
35
Country
germany
Hey there! :)

can anyone tell me where I can set the wing flex rate and stiffness of the wing?? Is it in the air file? I didn't find anything in the aircraft.cfg... I've used AirEd to open the air file but it shows no such entry...

any ideas what to do? My wings are too stiff now... they bend up when lift is applied but they dont swing enough in turbulences... also no swinging at touchdown :(
 
Last edited:
There is only one place where "flex" is defined and controlled, and that is in the modeldef.xml file.

The "default" entry for wing flex is this:

Code:
    <PartInfo>
        <Name>l_wing_flex</Name>
        <AnimLength>100</AnimLength>
        <Animation>
            <Parameter>
                <Sim>
                    <Variable>WING FLEX PCT:1</Variable>
                    <Scale>0.5</Scale>
                    <Units>percent</Units>
                    <Bias>50</Bias>
                </Sim>
            </Parameter>
        </Animation>
    </PartInfo>

First of all, don't modify this code, but copy/paste/rename for your specific aircraft.

The <Scale> and <Bias> values have a mathematical relationship as follows:

keyframes = <SimValue> * <Scale> + <Bias>

In the example above, WING FLEX PCT:1 is calculated by the sim and will vary from 0% to 100%.

So, if WING FLEX PCT is 100%, then <100> * 0.5 + 50 = 100 keyframes

To "increase" the flex, you would increase the <Scale> and then calculate a new <Bias> such that 100% flex = 100 keyframes

For example, if <Scale>0.75</Scale>, then <Bias>25</Bias>... :wizard:
 
Last edited:
wow thanks... that really helps! But if I get you correctly, you only describe how to flex the wing more - but not how to make it stiffer or less stiffer? :D I would wanna have some kinda rubber wing :-)

thanks very much!
 
wow thanks... that really helps! But if I get you correctly, you only describe how to flex the wing more - but not how to make it stiffer or less stiffer? :D I would wanna have some kinda rubber wing :-)

thanks very much!

No, that is the calculation for "stiffness," not "how much."

The "how much" is determined and limited by the keyframe animation limits.

You could also add a <Lag>xxx</Lag> value to control the "speed" of response.

The result of a <Lag> value is a mathematical relationship between number of keyframes and <Lag> value.

For example, if keyframes are 100 and <Lag> is 400, then "responsive time" = 100/400 = 0.25 seconds (pretty quick!)
 
Last edited:
ok I tried that with the values you've said as example... and there is no big difference acually... also puttin in a <Lag> tag with a value of even 700 makes no difference. Any ideas? The problem is that the wing bends up and down very unsmooth and linear... its not really swingin... like in the default 744 for example.

Check out this vid... there you can see what I am talkin about:

www.nextlevelgfx.de/nextlevelsimulations/fsx_a380/Wingflex.rar

thanks a lot!
 
Acutally, I thought the video was quite good myself, but I do see where it could be "smoothed out" a bit...

Well, I'm certainly no expert (are there any around here anyway?), but have you tried adding additional keys in your keyframe animation track?

This will keep FSX from having to do a lot of "interpolation" on the fly by setting specific keyframes for each percentage of flex variable.

Simply move the slider along the track and Add a Rotation key every 10 frames... I've used this technique to smooth out tire and assorted other animations, so I suspect it might help here as well.

I haven't gotten into "wing flex" 'cause quite frankly none of the bizjets I've build have long enough wings! :D
 
Back
Top