class Rotation ;
class Rotation_A ;
class Translation ;
class Wheel ;
class CfgModels
{
	class JSDF_Air_Model			{class Animations ;};
	class JSDF_P3_Model			: JSDF_Air_Model
	{
		sectionsInherit 		="JSDF_Air_Model";
		skeletonName			="JSDF_Air_Skeleton";
		class Animations		: Animations
		{
//////////////////////////////////////////////////////////////////////////////////////////////////////////////rudder
			class rudder		: Rotation_A
			{
				source  	="rudder";
				selection 	="rudder";
				axis  		="rudder_axis";
				angle0  	="rad  22.0";
				angle1  	="rad -22.0";
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////aileron
			class aileron_L		: Rotation_A
			{
				source  	="aileron";
				selection 	="aileron_L";
				axis  		="aileron_L_axis";
				angle0  	="rad -22.0";
				angle1  	="rad 22.0";
			};
			class aileron_R		: aileron_L		{selection ="aileron_R";	axis  ="aileron_R_axis";		};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////elevator
			class elevator_L	: Rotation_A
			{
				source  	="elevator";
				selection 	="elevator_L";
				axis  		="elevator_L_axis";
				angle0  	="rad -22.0";
				angle1  	="rad  22.0";
			};
			class elevator_R	: elevator_L		{selection ="elevator_R";	axis  ="elevator_R_axis";		};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////Flap
			class flap_R		: Rotation
			{
				source 		= "flap";
				selection 	= "flap_R";
				axis 		= "Flap_R_axis";
				angle1 		= 0.15;
			};
			class flap_L 		: flap_R		{selection = "flap_L";		axis = "Flap_L_axis";			};
			class flap_R2		: flap_R		{				axis = "Flap_RA_axis";		angle1 = 0.5;		};
			class flap_L2		: flap_L		{				axis = "Flap_LA_axis";		angle1 = 0.5;		};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear
			class gear		: Rotation
			{
				source		="gear";
				selection	="gear";
				axis		="gear_axis";
			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
			class gear_N		: gear
			{
				selection 	= "gear_n";
				axis 		= "gear_n_axis";
				maxValue	=  0.75;
				angle1		="rad -90";
			};
			class gear_L		: gear_N		{selection="gear_L";		axis="gear_L_axis";			};
			class gear_R		: gear_N		{selection="gear_R";		axis="gear_R_axis";			};
			class gear_L_stay	: gear
			{
				selection 	= "gear_L_stay";
				axis 		= "gear_L_stay_axis";
				maxValue	=  0.75;
				angle1		="rad 100";
			};
			class gear_R_stay	: gear_L_stay		{selection="gear_R_stay";	axis="gear_R_stay_axis";		};
			class gear_N_door_L	: gear
			{
				selection 	= "gear_n_doorA";
				axis 		= "gear_n_doorA_axis";
				minValue	=0.75;
				maxValue	=1;
				angle0 		= -1.5;
				angle1 		= 0;
			};
			class gear_N_door_R	: gear_N_door_L		{selection="gear_n_doorB";	axis="gear_n_doorB_axis";		};
			class gear_L_door_L	: gear_N_door_L		{selection="gear_L_doorA";	axis="gear_L_doorA_axis";		};
			class gear_L_door_R	: gear_N_door_L		{selection="gear_L_doorB";	axis="gear_L_doorB_axis";		};
			class gear_R_door_L	: gear_N_door_L		{selection="gear_R_doorA";	axis="gear_R_doorA_axis";		};
			class gear_R_door_R	: gear_N_door_L		{selection="gear_R_doorB";	axis="gear_R_doorB_axis";		};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_damper
			class gear_N_damper	: translation
			{
				source		="altRadar";
				selection	="gear_n_damperE";
				axis		="gear_n_damperE_axis";
				offset1		=-1.0;
			};
			class gear_L_damper	: gear_N_damper		{selection="gear_L_damper";	axis="gear_L_damper_axis";		};
			class gear_R_damper	: gear_N_damper		{selection="gear_R_damper";	axis="gear_R_damper_axis";		};
			class gear_L_damperA	: gear
			{
				source		="altRadar";
				selection 	= "gear_L_damperA";
				axis 		= "gear_L_damperA_axis";
				angle1		="rad 20";
			};
			class gear_R_damperA	: gear_L_damperA	{selection="gear_R_damperA";	axis="gear_R_damperA_axis";	};
			class gear_L_damperB	: gear_L_damperA	{selection="gear_L_damperB";	axis="gear_L_damperB_axis";	angle1="rad 40";	};
			class gear_R_damperB	: gear_L_damperB	{selection="gear_R_damperB";	axis="gear_R_damperB_axis";	};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////gear_Steering/wheel
			class gear_N_Steering	: Rotation_A
			{
				source		="noseWheelTurn";
				selection	="gear_n_stayA";
				axis		="gear_n_stayA_axis";
				angle0		="rad  -30.0";
				angle1		="rad   30.0";
			};
			class gear_N_Wheel	: Wheel			{selection="gear_n_wheelE";	axis="gear_n_wheelE_axis";		};
			class gear_L_Wheel	: Wheel			{selection="gear_L_wheel";	axis="gear_L_wheel_axis";		};
			class gear_R_wheel	: Wheel			{selection="gear_R_wheel";	axis="gear_R_wheel_axis";		};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////engine
			class rotor_L		: Rotation
			{
				source		="rotor";
				selection	="rotor_L";
				axis		="rotor_L_axis";
				sourceAddress	="loop";
				angle1		="rad 360";
			};
			class rotor_LL 		: rotor_L		{selection="rotor_LL";		axis="rotor_LL_axis";			};
			class rotor_RR 		: rotor_L		{selection="rotor_RR";		axis="rotor_RR_axis";			};
			class rotor_R 		: rotor_L		{selection="rotor_R";		axis="rotor_R_axis";			};
//////////////////////////////////////////////////////////////////////////////////////////////////////////////bombbay
			class bombbay_R
			{
				type = "rotation";
				source = "user";
				selection = "bombbay_R";
				axis = "bombbay_R_axis";
				initPhase=0;
				minValue=0;
				maxValue=1;
				angle0 = 0;
				angle1 = 1.8;
			};
			class bombbay_L : bombbay_R
			{
				selection = "bombbay_L";
				axis = "bombbay_L_axis";
				angle0 = 0;
				angle1 = -1.8;
			};
		};
	};
	class JMSDF_P3C				: JSDF_P3_Model		{};
};