Hi all;
I m trying to add dynamic objects using the method mentioned in fgdata/data/Docs/README.scenery, Inorder to later on control them using property system at runtime. I followed the following steps:
=====================================================================================================================================
4.2 dynamic objects
--------------------
Any of the model properties can be made changeable at runtime by appending
"-prop" and using a property path name instead of the fixed value:
<local>
<pony>
<longitude-deg>-115.8352869/<longitude-deg>
<latitude-deg>37.24302849</latitude-deg>
<elevation-ft>4534.691321</elevation-ft>
<heading-deg>0</heading-deg>
</pony>
</local>
<models>
<model n="1">
<name>pony</name>
<path>Local/pony.ac</path>
<longitude-deg-prop>/local/pony/longitude-deg</longitude-deg-prop>
<latitude-deg-prop>/local/pony/latitude-deg</latitude-deg-prop>
<elevation-ft-prop>/local/pony/elevation-ft</elevation-ft-prop>
<heading-deg-prop>/local/pony/heading-deg</heading-deg-prop>
<pitch-deg>1.234</pitch-deg> <!-- static, just for fun -->
</model>
</models>
Then one can move the pony around by changing the values in /local/pony/ in
the property system. One can, of course, use other animals, too.
=====================================================================================================================================
But of no use...
I also read somewhere that "Dynamic objects are OFF by default, you will have to set the following property to true to see anything" --prop:/sim/rendering/dynamic-objects=true
I did this also but still cant able to see the object at that location. Location I given is same as if I add any object in .stg file, it did appear there, but dynamic object at the same location doesn't!
Any clue.