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

SDK MSFS - Object Properties - Has Beacon?

Severin

Resource contributor
Messages
239
Country
ca-ontario
The MSFS SDK documentation says a beacon can be attached to a node.
My interpretation is that ,that node is a small object in the group of objects.

That didn't work. Can someone explain this to me?

has beacon.PNG
 
Untitled.png


I made an Empty in Blender named MyLightLocation. This will be the beacon attachpoint. In the glTF, the code is like this:

JSON:
    "nodes":[
        {
            "extensions":{
                "ASOBO_unique_id":{
                    "id":"Cone"
                }
            },
            "mesh":0,
            "name":"Cone"
        },
        {
            "extensions":{
                "ASOBO_unique_id":{
                    "id":"MyLightLocation"
                }
            },
            "name":"MyLightLocation",
            "translation":[
                0,
                6.099999904632568,
                0
            ]
        }
    ],
Note that glTF describes all objects as nodes. The beacon would be placed at the base location of that node. The Empty's location was 6.1 meters above the ground in this example, and that's where the beacon is located. Beacons are pretty crude. A better way might be to make a light orb, and a punctual light in Blender. And just export that light. You could place that anywhere.
 
Last edited:
View attachment 93342

I made an Empty in Blender named MyLightLocation. This will be the beacon attachpoint. In the glTF, the code is like this:

JSON:
    "nodes":[
        {
            "extensions":{
                "ASOBO_unique_id":{
                    "id":"Cone"
                }
            },
            "mesh":0,
            "name":"Cone"
        },
        {
            "extensions":{
                "ASOBO_unique_id":{
                    "id":"MyLightLocation"
                }
            },
            "name":"MyLightLocation",
            "translation":[
                0,
                6.099999904632568,
                0
            ]
        }
    ],
Note that glTF describes all objects as nodes. The beacon would be placed at the base location of that node. The Empty's location was 6.1 meters above the ground in this example, and that's where the beacon is located. Beacons are pretty crude. A better way might be to make a light orb, and a punctual light in Blender. And just export that light. You could place that anywhere.
Excellent, thank you.
 
Back
Top