// CONSTRAINTS:
	// YAW: -(object right) +(object left)
	// PITCH: (-backward) +(forward)

// Jigglebones
$definevariable mass "2000"
$definevariable length "35"
$definevariable stiffness "180"
$definevariable damping "6"

//Left
$jigglebone "Hair.Left_1_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -45 45
		yaw_constraint -2 88
	}
}

$jigglebone "Hair.Left_2_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -45 45
		yaw_constraint -2 88
	}
}

$jigglebone "Hair.Left_3_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -45 45
		yaw_constraint -2 88
	}
}

$jigglebone "Hair.Left_4_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -45 45
		yaw_constraint -2 88
	}
}


//Right
$jigglebone "Hair.Right_1_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -45 45
		yaw_constraint -88 2
	}
}

$jigglebone "Hair.Right_2_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -45 45
		yaw_constraint -88 2
	}
}

$jigglebone "Hair.Right_3_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -45 45
		yaw_constraint -88 2
	}
}

$jigglebone "Hair.Right_4_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -45 45
		yaw_constraint -88 2
	}
}


//Back
$jigglebone "Hair.Top_Rear_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Top_Right_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Top_Left_jiggle" {
	is_flexible {
		yaw_stiffness $stiffness$
		yaw_damping $damping$
		pitch_stiffness $stiffness$
		pitch_damping $damping$
		tip_mass $mass$
		length $length$
		angle_constraint 90
		pitch_constraint -88 2
		yaw_constraint -45 45
	}
}

