We should probably come up
with some kind of standard way for the FDM to signal to the rest of
the simulator that it has detected a collision and stopped.
I agree it's time for crash detection and handling. I just added a basic
version to my OV-10 sim (can't have public users wallowing
Dave Culp wrote:
One decision to make is what the handler should do once a crash is
detected. I have it calling the reinit code in order to reset the
sim to the starting position (below), while others may prefer to
have the sim close after a crash, or perhaps display a crash-splash
screen
If you want to do push-mode handling with an FGCommand and make it
settable by the user, you can have the command call (or be) a Nasal
script that can be assigned by the user (e.g. globals.crashHandler =
myFunction). Or have it indirect through another FGCommand binding
found in the property