David Megginson writes: > Alex Romosan writes: > > > i was flying the a4 trying to dodge buildings when i crashed into one > > of them. the problem is i was some distance away from it as you can > > see from the picture at http://caliban.lbl.gov/a4_crash.pnm (it's a > > 1600x1200 picture so it might be pretty large). so either the crash > > code is wrong, or the crash boxes around buildings are too big. > > There are no crash boxes around buildings -- we're not doing collision > detection at all. If you crashed, you must have hit the ground > (possibly at one of those nasty tile intersections people have been > talking about).
The height above terrain routine traverses the scene graph so it should return intersections with buildings or any other random/dynamic object. The aircraft moves in discrete steps though so with smaller objects there is a chance you could skip it without detecting ground above you. Curt. -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
