Thales de Lima Ferreira writes:
> 
> Hello,
> 
> Iīm trying to make the plane crash... I mean, as much fun as it is when you 
> hit the ground and the plane simply bounces back into the air, this is not 
> very realistic :-)
> I made the program go to a crash scene when the plane hits the ground, but 
> that also mean that the plane canīt land, since I use the scenery altitude 
> for that.
> Is there any way to know the location of the runway on the map? Or a 
> function that returns that value to me? I would also need to know the 
> inclination of the plane, so that if the guy lands on the runway at a 90 
> degree angle, the plane crashes... I tried looking for these things on the 
> code, but I only find their declaration, I couldnīt find any values being 
> passed to them.
> Thanks in advance for any help you can give me.
> All the best

Thales,

The latest development version in cvs does a much better job of crash
detection.  I'd suggest you grab the latest code from cvs:

    http://www.simgear.org/cvs.html                     (simgear)
    http://www.flightgear.org/cvsResources/anoncvs.html (fgfs)
    http://rockfish.net/fg/                             (base package)

Right now when flight gear detects a crash it simply freezes the sim.
The idea is that if we have motion hardware connected up, we don't
want to overdrive the hardware beyond it's capabilities.  But, a nice
crash scene could be an interesting option.

Regards,

Curt.
-- 
Curtis Olson   Intelligent Vehicles Lab         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

Reply via email to