577
edits
m (→*.stg: added anchor to section) |
|||
Line 84: | Line 84: | ||
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). <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 | 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). <heading-deg> is in degree, counter-clockwise with North being 0.0. <pitch-deg> and <roll-deg> are in degree and optional. Note that this differs from about every other place in FlightGear, most notably the /orientation/heading-deg entry in the property system, which is clockwise. OBJECT_SHARED models are cached and reused. They are only once in memory and never freed. (See also the next section.) | ||
that this differs from about every other place in FlightGear, most notably the /orientation/heading-deg entry in the property system, which is clockwise. OBJECT_SHARED models are cached and reused. They are only once in memory and never freed. (See also the next section.) | |||
=== OBJECT_STATIC === | === OBJECT_STATIC === |
edits