#include <simgear/io/iochannel.hxx>
#include <FDM/flightProperties.hxx>
-
+#include <Environment/gravity.hxx>
#include "ray.hxx"
double dt = 0.05; /* seconds */
/* get basic information about gravity */
- double grav_acc = -9.81;
+ double grav_acc = -Environment::Gravity::instance()->getGravity( f.getPosition() );
double vert_acc = f.get_A_Z_pilot() * 0.3;
if ( -3.0 < vert_acc )
vert_acc = -3.0;