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

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

//Front
$jigglebone "Hair.Bang_1_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_1_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_1_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_2_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_2_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_2_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_3_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_3_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_3_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_4_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_4_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_4_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_5_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_5_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 -2 88
		yaw_constraint -45 45
	}
}

$jigglebone "Hair.Bang_5_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 -2 88
		yaw_constraint -45 45
	}
}


//Right
$jigglebone "Hair.Right_Front_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_Front_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_Front_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_Back_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_Back_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_Back_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
	}
}


//Left
$jigglebone "Hair.Left_Front_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_Front_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_Front_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_Back_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_Back_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_Back_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
	}
}

