- Messages
- 6,169
- Country
You might have noticed that there is an option in the object properties for 'has beacon'. This beacon is a bright disk, constant turned to face the viewer, that has some characteristics like military or sea base... The problem is it always shows at the exact same height when attached. 31 meters.
My solution is to make a dummy library object, attach the beacon, and subtract 31 meters from the placement altitude. Then I can put one wherever I want.
The above code puts it a ground level, with the dummy buried 31 meters underground.
Attached is the dummy gltf code.
My solution is to make a dummy library object, attach the beacon, and subtract 31 meters from the placement altitude. Then I can put one wherever I want.
XML:
<!--SceneryObject name: rhumba_dummy (Beacon)-->
<SceneryObject lat="42.62942143728868" lon="-88.60285952615611" alt="-31.0" pitch="0.000000" bank="0.000000" heading="-179.999995" imageComplexity="VERY_SPARSE" altitudeIsAgl="TRUE" snapToGround="FALSE" snapToNormal="FALSE">
<NoShadow/>
<LibraryObject name="{188F9549-BCB3-497E-BF58-199917786EFA}" scale="1.000000"/>
<AttachedObject attachpointName="point" instanceId="{CC17F1B5-9ACB-4244-8922-E58868D076F1}" pitch="0.000000" bank="0.000000" heading="0.000000">
<Beacon type="CIVILIAN" baseType="SEA_BASE"/>
</AttachedObject>
</SceneryObject>
The above code puts it a ground level, with the dummy buried 31 meters underground.
Attached is the dummy gltf code.