David Megginson <[EMAIL PROTECTED]> said: > > Instead, if the /sim/model/path property points to a file ending with > ".xml", the FGAircraftModel class reads a property file at that > location to get information about the 3D model. Initially, the > following properties are recognized: > > /path The path to the model, relative to the XML > file (not FG_ROOT). > /offsets/heading-deg The heading rotation for the model, in degrees. > /offsets/pitch-deg The pitch rotation for the model, in degrees. > /offsets/roll-deg The roll rotation for the model, in degrees. > /offsets/x-m The x-axis transformation, in meters. > /offsets/y-m The y-axis transformation, in meters. > /offsets/z-m The z-axis transformation, in meters. >
Great improvement! One thing I noticed as soon as the c172 model went in was that the offsets affected every model that didn't have offsets defined in the aircraft-set.xml file, simply because they were included in the c172-set.xml file that always gets processed by default, even if another aircraft is selected. Does this address that issue? If I switch to a different model in my command line will the offsets for the default model go away? Another question that came to mind (and I apologize in advance if it's a stupid one!): Is it possible to eliminate the requirement of offset values with models built for the base package distribution...ie can we convert all the vertices in the *.ac files so that it isn't necessary to use them? Best, Jim _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
