Tony Peden writes: > Norman Vine wrote: >> Jon S Berndt >> > David Megginson <[EMAIL PROTECTED]> wrote: >> > >> >>That's good news -- I'd like to encourge the FDM writers to query >> >>separately for each gear now, at least for the wheels and skids (crash >> >>points aren't as serious). >> > >> >So, when querying, would we supply the lat/lon/radius of >> >each bogey of interest, then get the height above ground? >> >> Easier, well at least faster, then that >> >> The fgCurrentElev() routine takes >> sgdVec3 abs_view_pos as its first argument >> >> which normally is >> globals->get_current_view()->get_abs_view_pos() >> >> which I believe is still the AP CG >> so I believe that you could just add the offset for each >query point to >> the abs_view_pos vector > >So then, we'd need to convert from our body coordinates to FG's global >cartesian?
I believe that the view->UP matrix will come in handy here Norman Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
