Moved gaze tracking in OpenSeeVRMDriver to LateUpdate.

This commit is contained in:
Emiliana 2020-10-03 13:38:03 +02:00
parent a3ff1bbedc
commit 1e410015e6

View file

@ -1423,8 +1423,6 @@ public class OpenSeeVRMDriver : MonoBehaviour {
}
FindFaceMesh();
UpdateExpression();
if (gazeTracking && !only30Points)
UpdateGaze();
BlinkEyes();
ReadAudio();
bool doMouthTracking = true;
@ -1439,6 +1437,11 @@ public class OpenSeeVRMDriver : MonoBehaviour {
if (vrmBlendShapeProxy != null && browClips != null)
vrmBlendShapeProxy.Apply();
}
void LateUpdate() {
if (gazeTracking && !only30Points)
UpdateGaze();
}
void FixedUpdate() {
if (openSeeIKTarget.fixedUpdate) {