Hi, ----- "Melchior FRANZ" a écrit :
> * Detlef Faber -- Tuesday 19 May 2009: > > This means while trying to pass beneath a bridge, geo.elevation > returns > > the heigth of thebridge which will obviously stop the walker from > moving ahead. > > But geo.elevation() has an optional third argument that defines from > which altitude > down the intersection test should be made. Default is 10 km, but you > can start > from, say, 1.5 m above the walker's altitude. If there's an > intersection, then > s/he can climb up, otherwise it's an obstacle. And that should also > work in > hangars or under bridges. > > m. > > > PS: yes, I forgot to mention this little detail in the geo.nas header. Mathias or Tim will comment that: Maybe we could distinguish terrain and models in the traversal mask ? For the moment, every solid models has the terrain bit. Then geo.elevation() could accept a parameter that tells if it search terrain or solid objects. -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