53f09ff6a5
""" - ground properties (e.g. feel bumpiness and the reduced friction of grass or go swimming with the beaver) - initial load for yasim gears (to get rid of the jitter the beaver has on ground) - glider/winch/aerotow (do winch start with YASim glider or do aerotow over the net) I will place a how-to on the wiki soon, here very short: use the sgs233y (or the bocian if you have AJ (up ot now) non-GPL bocian) winch start: Ctrl-w for placing the winch, hold w to winch, press Shift-w to release the tow aerotow: Place the glider within 60m to a MP-aircraft, press Ctrl-t to tow to this aircraft. If the MP-aircraft is the J3 and the patch is installed on both sides, the J3 feels the forces, too. The J3-pilot has to taxi very slow up to the moment, the glider starts moving. Increase the throttle gently. Don't lift the J3 early, wait for the glider being lifted, lift gently. """
30 lines
761 B
C++
30 lines
761 B
C++
#ifndef _GROUND_HPP
|
|
#define _GROUND_HPP
|
|
|
|
class SGMaterial;
|
|
namespace yasim {
|
|
|
|
class Ground {
|
|
public:
|
|
Ground();
|
|
virtual ~Ground();
|
|
|
|
virtual void getGroundPlane(const double pos[3],
|
|
double plane[4], float vel[3]);
|
|
|
|
virtual void getGroundPlane(const double pos[3],
|
|
double plane[4], float vel[3],
|
|
int *type, const SGMaterial **material);
|
|
|
|
virtual bool caughtWire(const double pos[4][3]);
|
|
|
|
virtual bool getWire(double end[2][3], float vel[2][3]);
|
|
|
|
virtual void releaseWire(void);
|
|
|
|
virtual float getCatapult(const double pos[3],
|
|
double end[2][3], float vel[2][3]);
|
|
};
|
|
|
|
}; // namespace yasim
|
|
#endif // _GROUND_HPP
|