//Y is Front
//-Y is Back
//Z is Bottom
//-Z is Top
//X is Right
//-X is Left
PART
{
	// --- general parameters ---
	name = hl10IRudder
	module = Part
	author = Angel-125

	// --- asset parameters ---

	rescaleFactor = 1
	
	MODEL
	{
	    model = WildBlueIndustries/Heisenberg/Parts/HL10/HL10IRudderAssembly
	}

	// --- node definitions ---
	node_stack_bottom = 0.0, 0.0, 5.0, 0, 0, 1, 3
	node_stack_top = 0.0, 0.0, 5.0, 0, 0, -1, 3
	node_stack_left = -5.0, 0.0, 0.0, -1, 0, 0, 3
	node_stack_right = -5.0, 0.0, 0.0, 1, 0, 0, 3

	// --- editor parameters ---
	TechRequired = experimentalAerodynamics
	entryCost = 46600
	cost = 2500
	category = Aero
	subcategory = 0
	title = HL-10I Inflatable Rudder
	manufacturer = Heisenberg Airships
	description = The Inflatable Rudder is designed to control your craft. It's specially built for the HL-10 Inflatable Envelope, and can be stowed in a compact space. You can stack them on top of each other and rotate one pair to become the vertical rudder. Look for "floating" attachment nodes to properly attach the rudder.

	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,0,1,0,0

	//USS Macon displacement: 209580.3 m^3; dead weight: 97975 kg
	//209580.3 / 97975 = 2.139 kg per m^3 = 0.002139 mt/m^3 ~ 0.002 mt/m^3
	mass = 0.2
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 10
	breakingForce = 50000
	breakingTorque = 50000
	maxTemp = 1900
	fuelCrossFeed = True
	CoMOffset = 0,-26.0,0
	CoLOffset = 0,-29.0,0
	emissiveConstant = 0.6

	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = Deploy
		startEventGUIName = Deflate Rudder
		endEventGUIName = Inflate Rudder
		actionGUIName = Inflate/Deflate Rudder
	}

	MODULE
	{
		name = WBIAnimColliderToggle
		transformNames = FinSection;RudderSection
		enableOnStartAnimation = true
		colldersEnabled = true
	}

	MODULE
	{
		name = ModuleControlSurface
		useInternalDragModel = True
		dragCoeff = 0.6
		deflectionLiftCoeff = 5		// area = 12.28m^2
		ctrlSurfaceRange = 25
		ctrlSurfaceArea = 0.29			// area = 3.56m^2
		actuatorSpeed = 35
		transformName = RudderSection
	}

	MODULE
	{
		name = WBINodeStripper
		stripUnusedNodes = true
	}
}
