* ricardo freitasfilho -- Friday 15 February 2008:
> It is usefull if there is a may to get the information of the
> scenery buildings so we can avoid these building in the simulation.

There's no way to query the location of buildings (like in real
life :-). But you can check for the terrain elevation at some
given coordinate (Nasal's geodinfo(), or the geo.elevation()
wrapper), and you can get the elevation of an impact point
(see $FG_ROOT/Docs/README.submodels). The latter might report
impacts on buildings (fg/osg?), so you could abuse that by
launching an invisible, lightweight, and very fast submodel,
and check where and at which altitude it lands.

m.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

Reply via email to