class Rotation ;
class Rotation_A ;
class Translation ;
class Wheel ;
class CfgModels
{
	class JSDF_Air_Model			{class Animations ;};
	class JSDF_F4_Model			: JSDF_Air_Model
	{
		sectionsInherit 		="JSDF_Air_Model";
		skeletonName			="JSDF_Air_Skeleton";
		class Animations		: Animations
		{
			class Aileron_L		: Rotation_A
			{
				source		="aileron";
				selection	="aileron_L";
				axis		="aileron_L_axis";
				angle0		="rad  25.0";
				angle1		="rad -25.0";
			};
			class Aileron_L_e	: Aileron_L
			{
				selection	="elevator_L";
				axis		="elevator_L_axis";
			};
			class Aileron_R		: Aileron_L
			{
				selection	="aileron_R";
				axis		="aileron_R_axis";
				angle0		="rad -25.0";
				angle1		="rad  25.0";
			};
			class Aileron_R_e	: Aileron_R
			{
				selection	="elevator_R";
				axis		="elevator_R_axis";
			};
			class Flap_L		: Rotation
			{
				source		="flap";
				selection	="flap_L";
				axis		="flap_L_axis";
				angle1		="rad 30.0";
			};
			class Flap_R		: Flap_L
			{
				selection	="flap_R";
				axis		="flap_R_axis";
			};
			class Elevator_L	: Rotation_A
			{
				source		="elevator";
				selection	="elevator_L";
				axis		="elevator_L_axis";
				angle0		="rad  25.0";
				angle1		="rad -25.0";
			};
			class Elevator_R	: Elevator_L
			{
				selection	="elevator_R";
				axis		="elevator_R_axis";
				angle0		="rad  25.0";
				angle1		="rad -25.0";
			};
			class Rudder		: Rotation
			{
				type		="rotation";
				source		="rudder";
				selection	="rudder";
				axis		="rudder_axis";
				minValue	=-1.0;
				maxValue	= 1.0;
				angle0		="rad  22.0";
				angle1		="rad -22.0";
			};
			class intake_L		: Rotation
			{
				source		="intake";
				selection	="intake_L";
				axis		="intake_L_axis";
				angle1		="rad 15.0";
			};
			class intake_R		: intake_L
			{
				selection	="intake_R";
				axis		="intake_R_axis";
			};
			class speedBrake	: Rotation
			{
				source		="SpeedBrake";
				selection	="speedbrake";
				axis		="speedbrake_axis";
				angle1		="rad 90.0";
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////cabin
			class canopyA		: Rotation
			{
				sourceAddress	="clamp";
				source		="cabin";
				selection	="canopya";
				axis		="canopya_axis";
				minValue	= 0.0;
				maxValue	= 9.0;
				angle0		="rad 40.0";
				angle1		="rad  0.0";
			};
			class canopy_lock	: canopyA
			{
				type		="translation";
				axis		="canopy_lock_axis";
				minValue	= 0.9;
				maxValue	=10.0;
				offset0		=-1.0;
				offset1		= 0.0;
			};
			class canopyB		: canopyA
			{
				selection	="canopyb";
				axis		="canopyb_axis";
				minValue	= 0.5;
				maxValue	= 8.5;
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear
			class gear		: Rotation
			{
				source		="gear";
				selection	="gear";
				axis		="gear_axis";
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_doorA
			class gear_N_door_1A	: gear
			{
				selection	="gear_n_doorA";
				axis		="gear_n_doorA_axis";
				minValue	= 0.9;
				maxValue	= 1.0;
				angle0		="rad  90.0";
				angle1		="rad   0.0";
			};
			class gear_N_door_1B	: gear
			{
				selection	="gear_n_doorB";
				axis		="gear_n_doorB_axis";
				minValue	= 0.1;
				maxValue	= 0.8;
				angle0		="rad 120.0";
				angle1		="rad   0.0";
			};
			class gear_R_door_A1	: gear
			{
				selection	="gear_R_doorA";
				axis		="gear_R_axis";
				minValue	= 0.1;
				maxValue	= 0.5;
				angle0		="rad 90";
				angle1		="rad  0";
			};
			class gear_L_door_A1	: gear_R_door_A1	{selection="gear_L_doorA";		axis="gear_L_axis";	};
			class gear_R_door_A2	: gear
			{
				selection	="gear_R_doorA";
				axis		="gear_R_doorA_axis";
				minValue	= 0.1;
				maxValue	= 0.5;
				angle0		="rad 25";
				angle1		="rad  0";
			};
			class gear_L_door_A2	: gear_R_door_A2	{selection="gear_L_doorA";		axis="gear_L_doorA_axis";	};
			class gear_L_door_B	: gear
			{
				selection	="gear_L_doorB";
				axis		="gear_L_doorB_axis";
				minValue	= 0.5;	
				maxValue	= 0.6;
				angle0		="rad -100.0";
				angle1		="rad    0.0";
			};
			class gear_R_door_B	: gear_L_door_B		{selection="gear_R_doorB";	axis="gear_R_doorB_axis";	};
			class gear_L_door_C	: gear_L_door_B		{selection="gear_L_doorC";	axis="gear_L_doorC_axis";	};
			class gear_R_door_C	: gear_L_door_B		{selection="gear_R_doorC";	axis="gear_R_doorC_axis";	};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_

			class gear_N_1		: gear
			{
				selection	="gear_n_stayX";
				axis		="gear_n_stayX_axis";
				minValue	= 0.3;
				maxValue	= 0.8;
				angle1		="rad  -20.0";
			};
			class gear_N_2		: translation
			{
				source		="gear";
				selection	="gear_n_stayY";
				axis		="gear_n_stayY_axis";
				minValue	= 0.1;
				maxValue	= 0.5;
				offset1		=-1.0;
			};
			class gear_N_3		: gear
			{
				selection	="gear_n_stayE";
				axis		="gear_n_stayE_axis";
				minValue	= 0.1;
				maxValue	= 0.5;
				angle1		="rad  170.0";
			};
			class gear_N_4		: gear
			{
				selection	="gear_n";
				axis		="gear_n_axis";
				minValue	= 0.1;
				maxValue	= 0.8;
				angle0		="rad    0.0";
				angle1		="rad -110.0";
			};

			class gear_R		: gear
			{
				selection	="gear_R";
				axis		="gear_R_axis";
				minValue	= 0.1;
				maxValue	= 0.5;
				angle0		="rad    0.0";
				angle1		="rad  -95.0";
			};
			class gear_L		: gear_R		{selection="gear_L";		axis="gear_L_axis";	};

			class gear_R_stay	: gear
			{
				selection	="gear_R";
				axis		="gear_R_stayA_axis";
				minValue	= 0.1;
				maxValue	= 0.5;
				angle0		="rad  0";
				angle1		="rad 25";
			};
			class gear_L_stay	: gear_R_stay		{selection="gear_L";		axis="gear_L_stayA_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   50";
			};
			class gear_N_damper3	: gear_N_damper2	{selection="gear_n_damperG";	axis="gear_n_damperG_axis";	angle1="rad 110";	};

			class gear_R_damper1	: gear_N_damper1	{selection="gear_R_damperE";	axis="gear_R_damperE_axis";	};
			class gear_L_damper1	: gear_N_damper1	{selection="gear_L_damperE";	axis="gear_L_damperE_axis";	};

			class gear_R_damper2	: gear_N_damper1
			{
				type		="rotation";
				selection	="gear_R_damperF";
				axis		="gear_R_damperF_axis";
				angle0		="rad    0";
				angle1		="rad   40";
			};
			class gear_R_damper3	: gear_R_damper2
			{
				selection	="gear_R_damperG";
				axis		="gear_R_damperG_axis";
				angle1		="rad   80";
			};
			class gear_L_damper2	: gear_R_damper2	{selection="gear_L_damperF";	axis="gear_L_damperF_axis";	};
			class gear_L_damper3	: gear_R_damper3	{selection="gear_L_damperG";	axis="gear_L_damperG_axis";	};


			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_n_Wheel	: Wheel			{selection="gear_n_wheel";		axis="gear_n_wheel_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_F4EJ_a			: JSDF_F4_Model	{};//白
	class JASDF_F4EJ_b			: JSDF_F4_Model	{};//グレー
	class JASDF_F4EJa_a			: JSDF_F4_Model	{};//白
	class JASDF_F4EJa_b			: JSDF_F4_Model	{};//グレー
	class JASDF_F4EJa_c			: JSDF_F4_Model	{};//迷彩海洋
	class JASDF_RF4E_a			: JSDF_F4_Model	{};//白
	class JASDF_RF4E_b			: JSDF_F4_Model	{};//迷彩タン
	class JASDF_RF4EJ_a			: JSDF_F4_Model	{};//迷彩青
	class JASDF_RF4EJ_b			: JSDF_F4_Model	{};//迷彩タン
	class JASDF_RF4EJ_c			: JSDF_F4_Model	{};//迷彩グレー

	class JGSDF_UH1B			: JSDF_F4_Model	{};
};