Drew wrote:
> I'm not using a YASim model...it's a net-fdm interface...I'm only
> using FlightGear as a scenery generator.  Anyway, I just looked at
> the YASim code, and it uses "environment/ground-elev-m" to derive
> the height above terrain, which means it will also fail using tower
> view.

Er, no.  It uses the lowest landing gear AGL distance, which these
days comes from the new groundcache code.  I assure you it's not using
the view location for AGL altitude, as evidenced by the fact that the
aircraft doesn't fall through the terrain when you switch views. :)

As far as the net-fdm issue goes: you may be stuck.  The FDM is the
piece of code responsible for deciding on terrain interaction under
the FlightGear architecture (it has to be, if you think about it --
otherwise no one is in charge of gear force).  How does your external
FDM make its own decisions about ground interaction?  If you can't get
the answer there, you may have to write some C++ code to query the
ground cache on your own.

Andy


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to