1
0
Fork 0

Document the new OBJECT_SHARED/OBJECT_STATIC pitch/roll options

This commit is contained in:
Clement de l'Hamaide 2012-06-06 12:08:20 +02:00 committed by Christian Schmitt
parent 76880701bb
commit 057cf86290

View file

@ -204,17 +204,18 @@ add static object to the tile.
Example: Example:
OBJECT_SHARED Models/Airport/tower.xml -122.501090 37.514830 15.5 0.00 OBJECT_SHARED Models/Airport/tower.xml -122.501090 37.514830 15.5 0.00 0.00 0.00
Syntax: Syntax:
OBJECT_SHARED <object-path> <longitude> <latitude> <elevation-m> <heading-deg> OBJECT_SHARED <object-path> <longitude> <latitude> <elevation-m> <heading-deg> <pitch-deg> <roll-deg>
The <object-path> is relative to the data directory (FG_ROOT). The <object-path> is relative to the data directory (FG_ROOT).
<elevation-m> is in meter and relative to mean sea-level (in the fgfs world). <elevation-m> is in meter and relative to mean sea-level (in the fgfs world).
<heading-deg> is in degree, counter-clockwise with North being 0.0. Note <heading-deg> is in degree, counter-clockwise with North being 0.0. Note
that this differs from about every other place in FlightGear, most notably that this differs from about every other place in FlightGear, most notably
the /orientation/heading-deg entry in the property system, which is clockwise. the /orientation/heading-deg entry in the property system, which is clockwise.
<pitch-deg> and <roll-deg> are in degree and optional.
OBJECT_SHARED models are cached and reused. They are only once in memory OBJECT_SHARED models are cached and reused. They are only once in memory
and never freed. (See also the next section.) and never freed. (See also the next section.)
@ -240,7 +241,7 @@ differences to OBJECT_SHARED (apart from the name):
Example: Example:
OBJECT_STATIC ggb-fb.xml -122.4760494 37.81876042 0 105 OBJECT_STATIC ggb-fb.xml -122.4760494 37.81876042 0 105 0.00 0.00