// 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 front left 2a_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 front left 2b_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 front left 2c_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 round 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 round 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 round 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 round 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
	}
}

$jigglebone "hair round left 5_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 front right 2a_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 round 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 round 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 round 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 round 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
	}
}

$jigglebone "hair right round 5_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 front right 2b_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 front right 2c_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
	}
}


//Front
$jigglebone "hair front right 1a_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 front right 1b_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 front right 1c_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 front left 1a_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 front left 1b_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 front left 1c_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
	}
}


//Ponytail
$jigglebone "hair tail 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 -45 45
	}
}

$jigglebone "hair tail 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 -45 45
	}
}

$jigglebone "hair tail 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 -45 45
	}
}

$jigglebone "hair tail 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 -45 45
	}
}

$jigglebone "hair tail left 5_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 -45 45
	}
}

$jigglebone "hair tail left 6_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 -45 45
	}
}

$jigglebone "hair tail left 7_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 -45 45
	}
}

$jigglebone "hair tail 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 -45 45
	}
}

$jigglebone "hair tail 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 -45 45
	}
}

$jigglebone "hair tail 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 -45 45
	}
}

$jigglebone "hair tail 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 -45 45
	}
}

$jigglebone "hair tail right 5_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 -45 45
	}
}

$jigglebone "hair tail right 6_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 -45 45
	}
}

$jigglebone "hair tail right 7_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 -45 45
	}
}

