On sam 22 décembre 2007, Csaba Halász wrote: > On Dec 22, 2007 7:46 PM, gerard robin <[EMAIL PROTECTED]> wrote: > > Hello, > > Probably a stupid question (i promise will be the last of the year) > > > > I would like to know (to calculate) the diff of position between the > > position of the aircraft and the position of a specific point on an AI > > object in my case the catapult and the wires on the carrier. > > Is their any way (nasal ??) to get it out of the YASim code ? > > Well, if you know the offset of the "specific point" relative to the > origin of the carrier, > you can calculate it using the values under /position, > /ai/models/carrier/position and /ai/models/carrier/orientation. > Or maybe I misunderstand something?
No you don't misunderstand. The problem here is we don't have a generic solution this must be calculated for each carrier or any AI object according to the .xml file definition , one calculation for Nimitz one for Foch one for ....... and so on. Regarding that feature i don't remember why it has been implemented into the FDM itself and not out of it , more flexible it could have been used by any others FDM and any others specific features. Regards -- Gérard http://pagesperso-orange.fr/GRTux/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel