Aircraft WingFlex Tweaking

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

wingflex 0.75 1.95

On this example below, the offset have much gap compare to the scalar, wing are falling, could be even worst with higher scalar.

Here 3 different scalar and offset.

Offset have much gap compare to the scalar, wing are falling, could be even worst with higher scalar.

6 Likes

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>
1 Like

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.

Will be possible to create wing flex for other default planes like the citation or the longitude?

thanks for the info on this thread. :wink:

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.

1 Like

Great Job @ExpressTomato52 ! go make tuto on Youtube :stuck_out_tongue_closed_eyes:

1 Like

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.

thanks!

you don’t add it’ already there if available search flex in flight_model.

I meant for those aircrafts with flightmodel.cfg but with no wingflex_scalar and wingflex_offset inside. Guess they won’t work right?

Just tested editing the wingflex_scalar and wingflex_offset values in the cfg of the king air, sadly, it doesn’t seem to work.

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.

1 Like

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.

Is there a way to edit the wingflex values of the 787 ? @ExpressTomato52

Couldn’t find the relevant files. I have the ms store version.