1
0
Fork 0

Add proper conversion factor

This commit is contained in:
Erik Hofman 2011-08-29 18:34:57 +02:00
parent b4400f8316
commit 1e9120a8ac

View file

@ -859,7 +859,7 @@ void FGAIBallistic::Run(double dt) {
hs = 0;
// adjust vertical speed for acceleration of gravity, buoyancy, and vertical force
double gravity = Environment::Gravity::instance()->getGravity(pos);
double gravity = SG_METER_TO_FEET * (Environment::Gravity::instance()->getGravity(pos));
vs -= (gravity - _buoyancy - v_force_acc_fpss - normal_force_fpss) * dt;
if (vs <= 0.00001 && vs >= -0.00001)