Adjusted thresholds for looking down compensation.

This commit is contained in:
Emiliana 2020-08-26 13:29:36 +02:00
parent 06ea6ccd19
commit ac95537694

View file

@ -1055,8 +1055,8 @@ public class OpenSeeVRMDriver : MonoBehaviour {
openThreshold = Mathf.Lerp(eyeOpenedThreshold, eyeClosedThreshold, 0.85f);
closedThreshold = Mathf.Lerp(eyeClosedThreshold, 0f, 0.6f);
if (upDownAngle > turnDownBoundaryAngle + 10f) {
openThreshold = Mathf.Lerp(eyeOpenedThreshold, eyeClosedThreshold, 0.95f);
closedThreshold = Mathf.Lerp(eyeClosedThreshold, 0f, 0.8f);
openThreshold = 0.1f;
closedThreshold = 0f;
}
}