class Rotation ;
class Rotation_A ;
class Translation ;
class Wheel ;
class CfgModels
{
	class JSDF_Air_Model			{class Animations ;};
	class JSDF_F1_Model			: JSDF_Air_Model
	{
		sectionsInherit 		="JSDF_Air_Model";
		skeletonName			="JSDF_Air_Skeleton";
		class Animations		: Animations
		{
			class Aileron_L		: Rotation
			{
				source		="aileron";
				selection	="aileron_L";
				axis		="aileron_L_axis";
				angle1		="rad 15.0";
			};
			class Aileron_R		: Aileron_L		{selection="aileron_R";		axis="aileron_R_axis";		};
			class Flap_L		: Rotation
			{
				source		="flap";
				selection	="flap_L";
				axis		="flap_L_axis";
				angle1		="rad -20";
			};
			class Flap_R		: Flap_L		{selection="flap_R";		axis="flap_R_axis";		};
			class Flap_FL		: Flap_L
			{
				selection	="flap_FL";
				axis		="flap_FL_axis";
				angle1		="rad -20";
			};
			class Flap_FR		: Flap_FL		{selection="flap_FR";		axis="flap_FR_axis";		};

			class Elevator_L	: Rotation_A
			{
				source		="elevator";
				selection	="elevator_L";
				axis		="elevator_L_axis";
				angle0		="rad   9.0";
				angle1		="rad -20.5";
			};
			class Elevator_R	: Elevator_L		{selection="elevator_R";	axis="elevator_R_axis";		};
			class Rudder		: Rotation
			{
				type		="rotation";
				source		="rudder";
				selection	="rudder";
				axis		="rudder_axis";
				minValue	=-1.0;
				maxValue	= 1.0;
				angle0		="rad  20.0";
				angle1		="rad -20.0";
			};
			class speedBrake_L	: Rotation
			{
				source		="SpeedBrake";
				selection	="speedbrake_L";
				axis		="speedbrake_L_axis";
				angle1		="rad 50";
			};
			class speedBrake_R	: speedBrake_L		{selection="speedbrake_R";	axis="speedbrake_R_axis";	};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////cabin
			class canopy		: Rotation
			{
				sourceAddress	="clamp";
				source		="cabin";
				selection	="canopy";
				axis		="canopy_axis";
				minValue	= 0.0;
				maxValue	= 9.0;
				angle0		="rad 50.0";
				angle1		="rad  0.0";
			};
			class canopy_lock	: canopy
			{
				type		="translation";
				axis		="canopy_lock_axis";
				minValue	= 0.9;
				maxValue	=10.0;
				offset0		=-1.0;
				offset1		= 0.0;
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear
			class gear		: Rotation
			{
				source		="gear";
				selection	="gear";
				axis		="gear_axis";
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_doorA
			class gear_N_door	: gear
			{
				selection	="gear_n_door";
				axis		="gear_n_door_axis";
				minValue	= 0.8;
				maxValue	= 0.9;
				angle0		="rad -90.0";
				angle1		="rad   0.0";
			};
			class gear_N_doorX	: gear
			{
				selection	="gear_n_doorx";
				axis		="gear_n_doorx_axis";
				minValue	= 0.1;
				maxValue	= 0.6;
				angle0		="rad 130.0";
				angle1		="rad   0.0";
			};
			class gear_N_doorY	: gear_N_doorX
			{
				selection	="gear_n_doory";
				axis		="gear_n_doory_axis";
				minValue	= 0.15;
				angle0		="rad-120.0";
			};

			class gear_R_door_A1	: gear
			{
				selection	="gear_R_doorA";
				axis		="gear_R_doorA_axis";
				minValue	= 0.7;
				maxValue	= 0.85;
				angle0		="rad -90.0";
				angle1		="rad   0.0";
			};
			class gear_L_door_A1	: gear_R_door_A1	{selection="gear_L_doorA";		axis="gear_L_doorA_axis";	};
			class gear_R_door_B	: gear_R_door_A1
			{
				selection	="gear_R_doorB";
				axis		="gear_R_doorB_axis";
				minValue	= 0.8;
				maxValue	= 0.85;
				angle0		="rad -90.0";
				angle1		="rad   0.0";
			};
			class gear_L_door_B	: gear_R_door_B		{selection="gear_L_doorB";		axis="gear_L_doorB_axis";	};
			class gear_R_door_A2	: gear_R_door_A1
			{
				selection	="gear_R_doorA";
				axis		="gear_R_doorA_axis";
				minValue	= 0.05;
				maxValue	= 0.1;
				angle0		="rad  90.0";
				angle1		="rad   0.0";
			};
			class gear_L_door_A2	: gear_R_door_A2	{selection="gear_L_doorA";		axis="gear_L_doorA_axis";	};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_
			class gear_N_1		: gear
			{
				selection	="gear_n";
				axis		="gear_n_axis";
				minValue	= 0.1;
				maxValue	= 0.8;
				angle1		="rad -120.0";
			};
			class gear_N_2		: gear_N_1
			{
				selection	="gear_n_stay";
				axis		="gear_n_stay_axis";
				angle1		="rad 120.0";
			};
			class gear_L		: gear
			{
				selection	="gear_L";
				axis		="gear_L_axis";
				minValue	= 0.1;
				maxValue	= 0.5;
				angle0		="rad    0.0";
				angle1		="rad  -95.0";
			};
			class gear_R		: gear_L		{selection="gear_R";		axis="gear_R_axis";		};
			class gear_R_stayA	: gear
			{
				type		="rotation";
				selection	="gear_R_stayA";
				axis		="gear_R_stayA_axis";
				minValue	= 0.2;
				maxValue	= 0.4;
				angle0		="rad    0";
				angle1		="rad   50";
			};
			class gear_L_stayA	: gear_R_stayA		{selection="gear_L_stayA";	axis="gear_L_stayA_axis";	};
			class gear_R_stayB	: gear_R_stayA
			{
				selection	="gear_R_stayB";
				axis		="gear_R_stayB_axis";
			};
			class gear_L_stay	: gear_R_stayB		{selection="gear_L_stayB";	axis="gear_L_stayB_axis";	};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////

			class gear_N_damper1	: translation
			{
				source		="altRadar";
				selection	="gear_n_damperE";
				axis		="gear_n_damperE_axis";
				offset1		=-1.0;
			};
			class gear_N_damper2	: gear_N_damper1
			{
				type		="rotation";
				selection	="gear_N_damperF";
				axis		="gear_N_damperF_axis";
				angle0		="rad    0";
				angle1		="rad   25";
			};
			class gear_N_damper3	: gear_N_damper2
			{
				selection	="gear_N_damperG";
				axis		="gear_N_damperG_axis";
				angle1		="rad  -55";
			};
			class gear_N_Steering	: Rotation_A
			{
				source		="noseWheelTurn";
				selection	="gear_n_stayA";
				axis		="gear_n_stayA_axis";
				angle0		="rad  -30.5";
				angle1		="rad   30.5";
			};
			class gear_R_damper2	: gear_N_damper1
			{
				type		="rotation";
				selection	="gear_R_damperE";
				axis		="gear_R_damperE_axis";
				angle0		="rad    0";
				angle1		="rad   40";
			};
			class gear_L_damper2	: gear_R_damper2	{selection="gear_L_damperE";	axis="gear_L_damperE_axis";	};


			class gear_N_Wheel	: Wheel			{selection="gear_N_wheelE";	axis="gear_N_wheelE_axis";	};
			class gear_R_wheel	: Wheel			{selection="gear_R_wheelE";	axis="gear_R_wheelE_axis";	};
			class gear_L_Wheel	: Wheel			{selection="gear_L_wheelE";	axis="gear_L_wheelE_axis";	};

//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear
		};
	};
	class JASDF_F1			: JSDF_F1_Model	{};
};