----- "Melchior FRANZ" a écrit : > * Frederic Bouvier -- Wednesday 20 May 2009: > > So if you really want to hit the floor and not the top of objects you can > > iterate with different starting height until the second member is not nil ? > > Well, yes. Maybe use binary search for that. But that's still a waste > of cycles if you really need the terrain altitude at some coordinates > right away. I wouldn't oppose to an implementation for that, but I wonder > if/when you actually ever need that. To measure an object altitude?
That would allow to place AI planes on the floor and not on the roof of the jetways ;-) But I presume this is not done with Nasal. > What would be nice is an interface for intersections along a given > vector other than straight down. Then one could ask for visibility in a > particular direction or open/closed doors etc. That would be handy too -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery - album photo http://fgsd.sourceforge.net/ FlightGear Scenery Designer ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel