• 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.

MSFS Having trouble with wing flex and Blender to MSFS exporter

Messages
398
Country
ca-britishcolumbia
I've been working on wing flex and have some problems implementing it in the sim. I have the wing flexing nicely as intended using skinned mesh-- the problems are with the other animated objects attached to the wing. I can implement various ways to accomplish the animations that work in Blender, but they don't work when exported into the sim. Essentially, skinned meshes won't animate in the sim, nor will anything attached as a child of a bone or attached to such a child. As a last resort I considered using branches of the armature to animate all the other objects, but I can't find any way to tag the animations of individual bones.

In P3D, the exporter provided for tagging individual bones, but I can't see any way to do this in the new exporter. For example, when I started developing the aircraft in question for P3D, I had a bone coming off the wing flex armature that was animated to rotate the engine fan and was able to tag that with an N1 rotation, with the other bones having a wing flex tag. With the MSFS 2020 exporter it seems I can only assign one animation name to the entire armature.

Any solution for this? I don't even want to say how many hours I have into this project and it's not going to happen without wing flex, which really does work amazingly well in the sim. I'm not using the ready made wing flex code that Asobo uses as the SDK really doesn't explain it adequately. I just have an FSX style animated armature with an animation hooked up to some XML code using the wingflex A variable.
 
Messages
65
Country
us-florida
I was able to accomplish wing flex in Cinema4D but having issues exporting the bend deformer to .fbx, so far I can only export as .abc while preserving wing bend animations.
ezgif-6-af4a80a8905d.gif
 
Messages
646
Country
australia
I was able to accomplish wing flex in Cinema4D but having issues exporting the bend deformer to .fbx, so far I can only export as .abc while preserving wing bend animations.
Have you read the section in the SDK about <NodeAnimation>? It's in the XML Definition index, 3rd topic. I'll copy and paste for ease reading:


<NodeAnimation>​


This is currently used for advanced wingflex bone animation. It animates the positions of several nodes in three dimensions.
It has one mandatory attribute, type, to which the only currently available value is "WingFlex".
For this to have the desired effect, the nodes should be the joints of a skeleton that skins the wings.

OrderNode Position
0The left wing bone closest to the center.
1In between 0and 2.
2In between 1and 3.
3The left wing bone furthest from the center.


4The right wing bone closest to the center.
5In between 4and 6.
6In between 5and 7.
7the right wing bone furthest from the center.


8The left wing engine pivot node closest to the center.
9The left wing engine pivot node furthest from the center.


10The right wing engine pivot node closest to the center.
11The right wing engine pivot node furthest from the center.



For example:

<NodeAnimation type="WingFlex">
<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>
 
Messages
2
Country
france
Hello I tried the wingflex on a blender and I managed to use the Animation node. For this you need 8 bones with the correct names written in XML and have the wings cut off from the fuselage. The bones must be vertical and linked together in edit mode. For the right wing it is necessary to add a rotation to the bones. Once all this is done you just have to do a Ctrl + P to link the wings and the bones. Then delete the unused vertex groups then exported with the correct parameters. In games you need this. Adjust the scalar wingflex to have the right wingflex. If you have any problems or want more information, please do not hesitate to contact me MP I am attaching the .blend to you if you want to take a deeper look.
 

Attachments

  • 1.png
    1.png
    96.6 KB · Views: 31
  • 2.png
    2.png
    152.1 KB · Views: 26
  • 3.png
    3.png
    111.2 KB · Views: 27
  • 4.png
    4.png
    185.7 KB · Views: 28
  • 5.png
    5.png
    307.3 KB · Views: 28
  • 6.png
    6.png
    275.6 KB · Views: 26
  • 7.png
    7.png
    193.3 KB · Views: 25
  • 8.png
    8.png
    269.8 KB · Views: 31
  • 9.png
    9.png
    294.1 KB · Views: 26
  • 10.png
    10.png
    15.6 KB · Views: 28
Top