// 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 ribbon down 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 ribbon down 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 ribbon up 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 ribbon up 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 ribbon up 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
	}
}


//Left
$jigglebone "hair back left c 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 back left c 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 back left c 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 back left c 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 back left b 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 back left b 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 back left b 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 back left b 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 back right c 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 back right c 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 back right c 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 back right c 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 back right b 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 back right b 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 back right b 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 back right b 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 back middle 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back middle 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back middle 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back middle 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back right a 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back right a 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back right a 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back right a 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back left a 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back left a 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back left a 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 -88 2
		yaw_constraint -45 45
	}
}

$jigglebone "hair back left a 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 -88 2
		yaw_constraint -45 45
	}
}


//Left
$jigglebone "hair front left b 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 front left b 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 front left b 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 front left b 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 front right b 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 front right b 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 front right b 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
	}
}


//Front
$jigglebone "hair front middle 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 front middle 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 front middle 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 front right a 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 front right a 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 front right a 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 front left a 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 front left a 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 front left a 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 front middle  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 front middle  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 front middle  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
	}
}

