float getRotation();
float getExtension();
bool getCastering();
+ float getCasterAngle() { return _casterAngle; }
+ float getRollSpeed() { return _rollSpeed; }
// Takes a velocity of the aircraft relative to ground, a rotation
// vector, and a ground plane (all specified in local coordinates)
void getForce(float* force, float* contact);
float getWoW();
float getCompressFraction();
+ float getCompressDist() { return _compressDist; }
private:
float calcFriction(float wgt, float v);
float _contact[3];
float _wow;
float _frac;
+ float _compressDist;
double _global_ground[4];
float _global_vel[3];
+ float _casterAngle;
+ float _rollSpeed;
};
}; // namespace yasim