plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!

question

tsgucci avatar image
tsgucci asked GuiHuy commented

Simple scenery animation

Hey Guys!


I'm trying to create a very simple rotating radar animation with 3DS Max. In 3DS the animation works fine but in MSFS the radar does not rotate.


Most probably my workflow is wrong.

1. I have created a "Dummy", animated it. Attached the object to it. Assigned an animation group. Exported it with babylon. Edited the xml:


<?xml version="1.0" encoding="utf-8" ?>
<ModelInfo version="1.1" guid="{3c4e2e09-369a-486a-a0d1-e71015e4c081}">
<Animation name="NagyRadarAnim" guid="d78fb95b-eafd-48f2-9efb-0f4867259215" type="Standard" typeParams="AutoPlay"/>
</ModelInfo>


1623141912593.png


The static objects appears. Rebuilded the project, restarted MSFS, reloaded the project and still it does not move.

Any idea what is the problem?


Thanks a lot!

sceneryanimation
1623141912593.png (472.6 KiB)
1 comment
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

I assume that You have defined that as a simobject and not as a scenery object, correct? My animations - user initiated - are not running as scenery object but only as simobjects.

0 Likes 0 ·
virtuali avatar image
virtuali answered FlyingRaccoon commented

The attribute is called "TypeParam", not "TypeParams"

2 comments
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Congrats virtuali,

You are our first user to provide an answer that has been accepted on this new Q&A platform.

We hope it is the first one of a long series. :)

Regards,
Sylvain

2 Likes 2 ·

Thanks a lot! Indeed this was the problem :D

0 Likes 0 ·
tsgucci avatar image
tsgucci answered GuiHuy commented

Additional question, what is the frame per second for animations? I cannot find it in the SDK. The old FSX was running with 18 frames per sec, but I suppose this is now higher.

1 comment
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

When I developed my animation with blender, the framerate was displayed as beeing 25 frames per second. I haven't done any measurements but I guess it should be that.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.