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

MSFS24 Flag SimObject doesn't interact with wind direction.

Messages
6
I have had multiple attempts at making a animated flag in MSFS. On my first attempt i got the wind direction correctly but the flag animations looked horrible - however now the opposite is the case... I have gotten the flag anims to look good but I cannot for the life of me make it interact based on the wind orientation.

This is a kind of a last ditch effort, can anyone help me? can you spot anything wrong with my files?

I've included the blend (4.5) file and the simobject.

Thanks in advance!
 

Attachments

I don't see the orientation animation in your blend file.
I see the windspeed ones.

Code:
    <Template Name="ASOBO_WindDirection_Template">
        <DefaultTemplateParameters>
            <ANIM_NAME>Orientation</ANIM_NAME>
        </DefaultTemplateParameters>

        <UseTemplate Name="ASOBO_GT_Anim_Code">
            <ANIM_CODE>(A:AMBIENT WIND DIRECTION,degrees) (A:PLANE HEADING DEGREES TRUE, degrees) - 180 + dnor</ANIM_CODE>
            <ANIM_WRAP>1</ANIM_WRAP>
            <ANIM_LENGTH>360</ANIM_LENGTH>
        </UseTemplate>
        
    </Template>
 
I don't see the orientation animation in your blend file.
I see the windspeed ones.

Code:
    <Template Name="ASOBO_WindDirection_Template">
        <DefaultTemplateParameters>
            <ANIM_NAME>Orientation</ANIM_NAME>
        </DefaultTemplateParameters>

        <UseTemplate Name="ASOBO_GT_Anim_Code">
            <ANIM_CODE>(A:AMBIENT WIND DIRECTION,degrees) (A:PLANE HEADING DEGREES TRUE, degrees) - 180 + dnor</ANIM_CODE>
            <ANIM_WRAP>1</ANIM_WRAP>
            <ANIM_LENGTH>360</ANIM_LENGTH>
        </UseTemplate>
       
    </Template>
Hey, thanks.

I managed to upload an outdated file. this is the actual current blend file. any ideas?
 

Attachments

you call it Source_orientation - should be Orientation as in the default <ANIM_NAME> You don't reset it in your template so it uses Orientation. You should have seen this issue if you use the behaviors debug. - would have said invalid animation.
 
you call it Source_orientation - should be Orientation as in the default <ANIM_NAME> You don't reset it in your template so it uses Orientation. You should have seen this issue if you use the behaviors debug. - would have said invalid animation.
I originally had the animation named "Orientation", changed it back to "Source_Orientation" as this was its name last time it worked. Anyways tried to rename it and still it just will not work. Did you see any issue with the parent hierarchy that can effect the results? Maybe animation is set to wrong object?

Its a head scratcher for me... Anyways I appreciate your help! :)
 
What does the behaviors debug say. You should see if the animation is actually working in the sim by "forcing" it.
 
First off in the SimObject Spawner window i spawned the flag and played all the seperate anims. All the anims did work except "orientation". As for the behaviours im not sure what to look for tbh. I don not have any errors or warnings in the console. Further more under "components" tab in behaviours window i find "windsock" and under "animation" tab i find "Orientation" - don't know whether this tells you anything at all.

All i know is when selecting each anim, all worked except orientation (this assuming selecting it would make it spin like in blender). Does this indicate an issue with the actual export or how the animation is "attached" in blender?

Thanks
 
made the following changes - I am using the Windsock project.

Blend file - change animation name to Orientation
sim.cfg - delete Version section - make look like windsock example
Flag_o1_Norge.xml - change


Code:
        <DefaultState name="Anim"/>
        
        <BlendTreeState name="Anim">

Armature to Anim - like Windsock
DA40CGDFQ_2026.04.21_15h58m50s.png




DA40CGDFQ_2026.04.21_15h59m42s.png



DA40CGDFQ_2026.04.21_16h0m18s.png
 
Back
Top