On each Aircraft folder for airliners and many props, on the flight_dynamic.cfg it contains 2 line for wingflex called:
wingflex_scalar =
wingflex_offset =
Wingflex_scalar control top velocity (like a spring tension on top of the wing)
Wingflex_offset control the bottom velocity (like a spring tension on bottom of the wing)
Make sure there is never too much gap between scalar and offset, or at stop position, the wing will fall down on angle at runway, and if too much, it will touch almost the ground. Those video\screenshots below testing between 4.00 scalar and 0.00 offset
On this example below, the offset have much gap compare to the scalar, wing are falling, could be even worst with higher scalar.
There ‘should’ also be some more complex wing flex, but it isn’t implemented (yet?). Here is ‘commented out’ code from the A320NEO folder, model.xml
<!-- Custom animation definition. -->
<!-- This can be used when node movement depends on the simvars in a more complex way. -->
<!-- >>>>> CURRENTLY HARDCODED FOR WINGFLEX <<<<< -->
<NodeAnimation type="WingFlex">
<!-- Nice to have: script simulation variables to do rotation/translation (type="Custom") -->
<!-- Alternatively we could script the angles for the wingflex -->
<!-- Just define some nodes/bones to move for now (this configuration will likely change at some point) -->
<!-- order : node -->
<!-- --------------------------------------------------------------------------- -->
<!-- 0 : the left wing bone closest to the center -->
<!-- 1 : in between -->
<!-- 2 : in between -->
<!-- 3 : the left wing bone furthest from the center -->
<!-- 4 : the right wing bone closest to the center -->
<!-- 5 : in between -->
<!-- 6 : in between -->
<!-- 7 : the right wing bone furthest from the center -->
<!-- 8 : the left wing engine pivot node closest to the center -->
<!-- 9 : the left wing engine pivot node furthest from the center -->
<!-- 10 : the right wing engine pivot node closest to the center -->
<!-- 11 : the right wing engine pivot node furthest from the center -->
<Node>WING_BONE_LEFT_01</Node> <!-- the left wing bone closest to the center -->
<Node>WING_BONE_LEFT_02</Node> <!-- in between -->
<Node>WING_BONE_LEFT_03</Node> <!-- in between -->
<Node>WING_BONE_LEFT_04</Node> <!-- the left wing bone furthest from the center -->
<Node>WING_BONE_RIGHT_01</Node> <!-- the right wing bone closest to the center -->
<Node>WING_BONE_RIGHT_02</Node> <!-- in between -->
<Node>WING_BONE_RIGHT_03</Node> <!-- in between -->
<Node>WING_BONE_RIGHT_04</Node> <!-- the right wing bone furthest from the center -->
<Node>Engine_PIVOT_LEFT_1</Node> <!-- the left wing engine pivot node closest to the center -->
<Node>Engine_PIVOT_LEFT_2</Node> <!-- the left wing engine pivot node furthest from the center -->
<Node>Engine_PIVOT_RIGHT_1</Node> <!-- the right wing engine pivot node closest to the center -->
<Node>Engine_PIVOT_RIGHT_2</Node> <!-- the right wing engine pivot node furthest from the center -->
</NodeAnimation>
Yes these are active but doing different things, on animation wings area. Just discovered all aircraft function, include fms, all inop button all can be activated etc…but need some coding, this is going to be very deep.
Yes, most that have flight_model.cfg, you can, for some reason, limited don’t have flight_model.cfg, maybe are shared with others aircraft, CJ4 you can, longitude there is no flight_model.cfg for x reason.
Great, and do you know by chance, what variables should be added to other aircrafts in order to make this work? I would like to test it. I tried adding wingflex_scalar and wingflex_offset to the DA62 but nothing happened.
Wingflex needs to be animated in the 3d model first. Since it is not modeled in some aircrafts, you can’t see the wingflex even if you insert the values in cfg.
well, I was afraid that would be the case but I had to try. What a pity!, the king air or the longitude, as well as other amaller aircrafts like the da62, could also benefit from this effect as they also exhibit some nice wing effects.