Michael Selig <[EMAIL PROTECTED]> said: > > I think the doc above is out-of-date. The offsets can be controlled w/ > these properties: > > ****************** > $FG_ROOT/Aircraft/beech99/Models/uiuc/beech99/beech99-model.xml > ****************** > <?xml version="1.0"?> > > <PropertyList> > > <path>beech99.ac</path> > > <offsets> > <z-m>-.2</z-m> > <x-m>-.6</x-m> > <pitch-deg>0</pitch-deg> > </offsets> >
Ummm..it isn't out of date (it's only a couple of weeks old). This is exactly what the doc says to do. > Pertaining to the question about where the target spot is located, i.e. > what the viewer code uses as the "reference point" for centering the model > on the screen. This point should be the aircraft c.g. The reason is that > it is about this point that the FDM's define the aircraft orientation, and > I presume that it is this orientation information that the viewer code uses > to position the aircraft/view. For external views, the center should not > be the pilot's eye. > The viewer does absolutely nothing...nada...with the model position. Now that doesn't mean the FDM's aren't getting values indirectly from the viewer, but they shouldn't and won't be very soon. The viewer only defines the eye position and direction of view. Look at Model/model.cxx and Main/location.cxx to see how model positioning is done. This document describes how to configure the viewer: http://www.spiderbark.com/fgfs/fgfs-viewer-howto.html > If the viewer code used the FDM reference point at the tail in this case, > then the tail would be centered on the screen and the aircraft would > rotate about this point --- obviously looking and being very wrong. Well, it'd probably look just like an aircraft with a center of gravity in the tail :-) Best, Jim _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
