- remove the entire /fdm tree on reposition
- force the initial NED wind values to 0.0 in JSBsim,
pending advice from people who know better.
Winds->SetProbabilityOfExceedence(0.0);
}
- fgic->SetWindNEDFpsIC( -wind_from_north->getDoubleValue(),
- -wind_from_east->getDoubleValue(),
- -wind_from_down->getDoubleValue() );
+ fgic->SetWindNEDFpsIC(0.0, 0.0, 0.0);
SG_LOG(SG_FLIGHT,SG_INFO,"T,p,rho: " << Atmosphere->GetTemperature()
<< ", " << Atmosphere->GetPressure()
fgSetBool("/sim/crashed", false);
globals->get_subsystem("flight")->unbind();
+
+ globals->get_props()->removeChild("fdm");
// update our position based on current presets
// this will mark position as needed finalized which we'll do in the