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

My object doesn't want to rotate

Messages
79
Country
france
Hello,

I have try to follow this video :
But I fail to rotate my object, the spaceship from Independence Day, in its axis Z


Blender
aWNWZ.jpg


Gryb3.jpg


w2jKy.jpg


SDK console
PackageBuilder | Reading F:\MSFS Projects\independenceday\SceneryProject.xml...
PackageBuilder | Preparing asset groups...
PackageBuilder | Done, 4 asset groups registered.
PackageBuilder | Generating commands for package aigorbot-independenceday...
PackageBuilder | Preparing commands for asset group ContentInfo...
PackageBuilder | Preparing commands for asset group myscene...
PackageBuilder | Preparing commands for asset group mymodellib...
PackageBuilder | Ready, 9 commands added.
PackageBuilder | Starting the build...
PackageBuilder | Building assets for the package aigorbot-independenceday...
Copying files from source folder F:\MSFS Projects\independenceday\PackageDefinitions\aigorbot-independenceday\ContentInfo\...
Compiling texture file TEXTURE\SAUCE_LIT.PNG...
Compiling texture file TEXTURE\SAUCE_NRM.PNG...
Compiling texture file TEXTURE\SAUCE_ALB.PNG...
Compiling GLTF data file independenceday.gltf...
[sauce2_primitive[0]] Primitive defines "TANGENT" data, but we do not currently support importing tangents. The data is ignored.
Copying files from source folder F:\MSFS Projects\independenceday\PackageSources\modelLib\...
Compiling BGL file from in-memory data to output file modelLib.BGL...
Compiling BGL from file objects.xml...
PackageBuilder | Validating Package 'aigorbot-independenceday'...
PackageBuilder | Reloading assets for the package aigorbot-independenceday...
Copying files from source folder F:\MSFS Projects\independenceday\PackageDefinitions\aigorbot-independenceday\ContentInfo\...
Compiling texture file TEXTURE\SAUCE_LIT.PNG...
Compiling texture file TEXTURE\SAUCE_NRM.PNG...
Compiling texture file TEXTURE\SAUCE_ALB.PNG...
Compiling GLTF data file independenceday.gltf...
Copying files from source folder F:\MSFS Projects\independenceday\PackageSources\modelLib\...
Compiling BGL file from in-memory data to output file modelLib.BGL...
Compiling BGL from file objects.xml...
PackageBuilder | Finished, 1 skipped, 8 done and 0 failed, took 4s497ms.
[BITMAP CONVERTED] 2D BM_BC1_UNORM 4096x4096 5300651783902854212
[BITMAP CONVERTED] 2D BM_BC5_SNORM 4096x4096 6801016988370686129
[BITMAP CONVERTED] 2D BM_BC1_UNORM 4096x4096 14530660746727323292
Node 'Right_Hand' has non-uniform scale with children, its children may behave/render incorrectly.
[glTF] Model lod loaded: [LOD0] SimObjects\Humans\Pilot\model.Pilot_Female_Casual\Pilot_Female_Casual_LOD01.gltf
[glTF] Model lod loaded: [LOD1] SimObjects\Humans\Pilot\model.Pilot_Female_Casual\Pilot_Female_Casual_LOD02.gltf
[glTF] Model lod loaded: [LOD2] SimObjects\Humans\Pilot\model.Pilot_Female_Casual\Pilot_Female_Casual_LOD03.gltf
[glTF] Model lod loaded: [LOD3] SimObjects\Humans\Pilot\model.Pilot_Female_Casual\Pilot_Female_Casual_LOD04.gltf
[glTF] Model lod loaded: [LOD4] SimObjects\Humans\Pilot\model.Pilot_Female_Casual\Pilot_Female_Casual_LOD05.gltf
[glTF] Model lod loaded: [LOD5] SimObjects\Humans\Pilot\model.Pilot_Female_Casual\Pilot_Female_Casual_LOD06.gltf
Loading object from BGL FAILED: {822311E7-D7C3-4344-A68B-32ED2953D273}
at LLA: 38.897655�X - -77.036411�X - -127.020767
with source identifier: 'Mission: '
[glTF] Model lod loaded: [0] independenceday.gltf | {A3C184D4-CEA1-445A-6EBD-60182B13B504}
PackageBuilder | Done, 4 asset groups registered.
PackageBuilder | No partial lister for asset type BGL
PackageBuilder | Partial build : nothing to do
PackageBuilder | Reading F:\MSFS Projects\independenceday\SceneryProject.xml...
PackageBuilder | Preparing asset groups...
PackageBuilder | Done, 4 asset groups registered.
PackageBuilder | Generating commands for package aigorbot-independenceday...
PackageBuilder | Preparing commands for asset group ContentInfo...
PackageBuilder | Preparing commands for asset group myscene...
PackageBuilder | Preparing commands for asset group mymodellib...
PackageBuilder | Ready, 9 commands added.
PackageBuilder | Starting the build...
PackageBuilder | Building assets for the package aigorbot-independenceday...
Compiling BGL file from in-memory data to output file modelLib.BGL...
Compiling BGL from file objects.xml...
PackageBuilder | Validating Package 'aigorbot-independenceday'...
PackageBuilder | Reloading assets for the package aigorbot-independenceday...
Compiling BGL file from in-memory data to output file modelLib.BGL...
Compiling BGL from file objects.xml...
PackageBuilder | Finished, 7 skipped, 2 done and 0 failed, took 0s068ms.

Even I export again like in the video. It doesn't move

oGRln.jpg

Any idea ?
 
Change the name "NLAtrack" to be the same name as the animation code in your XML (in the attached picture the animation name in xml code is "a582_starter"). Are you making this is a simobject? Because, as far as I know (I may be wrong) but a simple scenery object does not animate, it must be created as a simobject. Refer to the SDK Samples/WindsockSample. Or see the windmill simobjects in the Official/OneStore/asob0-simobjects-landmarks folder. EDIT: After watching the video I guess standard animations (the old FSX ambient) don't need to be simobjects?

Image1.jpg


Plus, what is this:

[sauce2_primitive[0]] Primitive defines "TANGENT" data, but we do not currently support importing tangents. The data is ignored.

I think we'd need to see the keyframes you are defining.
 
Last edited:
Because, as far as I know (I may be wrong) but a simple scenery object does not animate, it must be created as a simobject.
You can have animatines outside of simbjects in the MFS. So, static objects can also have animations:


The code for the anemometer looks like this:
Code:
<Animation name="windmesser" guid="a661b973-e6cd-400c-99e5-284a949d23a0" type="Standard" typeparam2="windmesser" typeparam="AutoPlay,Random" />
 
Hi guys,

Thanks for yours replies.
I disabled the tangents option in blender
And I found the mistake. missing an E in typeParam. (before typParam)
Now the spaceship is rotating in its axis 👍

<?xml version="1.0" ?>



<ModelInfo guid="{a3c184d4-cea1-445a-6ebd-60182b13b504}" version="1.1">

<Animation guid="cd82dfc2-5bd4-48ba-ab9d-39c560c2d0e3" name="sauce2" type="Standard" typeParam="AutoPlay"/>

</ModelInfo>
 
You can have animatines outside of simbjects in the MFS. So, static objects can also have animations:
Hi Christian,

just even I have made my first animation and it works with a normal scenery object. Do only thing I have done was to fill in the animation row in the xml.

<?xml version="1.0" ?>
<ModelInfo guid="{b8a4d4f2-6105-49aa-7f9e-2886f98d35a0}" version="1.1">
<animation name="cubetest" guid="1ab69018-3dc3-4aa9-a039-93d07a11fc5c" type="standard" typeparam="autoplay" />
</ModelInfo>

I wonder when we can use a normal scenery object and when we have to use a simobject?

Is it possible to make an two frame animation of a landing tee, frame one show by this winddirection, frame two by the other direction. Can this be done without simobject?

Greetings

Dirk
 
Can this be done without simobject?
Hi Dirk.

My current level of knowledge is that these special functions can currently only be implemented with a Simobject. This has not yet worked with static objects, I had tested it sufficiently. Your Landing Tee can certainly also be controlled via a small animation, but only as a Simobject. My Landing Tee-Simobject consists of two models, one of which is rotated by 180 degrees - depending on the wind direction, one of the two models is then displayed.
 
The same I have done with my signs for active runway, but as simobject. Is this possible also as scenery object?
 
Back
Top