Moved gaze tracking in OpenSeeVRMDriver to LateUpdate.
This commit is contained in:
parent
a3ff1bbedc
commit
1e410015e6
1 changed files with 5 additions and 2 deletions
|
|
@ -1423,8 +1423,6 @@ public class OpenSeeVRMDriver : MonoBehaviour {
|
||||||
}
|
}
|
||||||
FindFaceMesh();
|
FindFaceMesh();
|
||||||
UpdateExpression();
|
UpdateExpression();
|
||||||
if (gazeTracking && !only30Points)
|
|
||||||
UpdateGaze();
|
|
||||||
BlinkEyes();
|
BlinkEyes();
|
||||||
ReadAudio();
|
ReadAudio();
|
||||||
bool doMouthTracking = true;
|
bool doMouthTracking = true;
|
||||||
|
|
@ -1439,6 +1437,11 @@ public class OpenSeeVRMDriver : MonoBehaviour {
|
||||||
if (vrmBlendShapeProxy != null && browClips != null)
|
if (vrmBlendShapeProxy != null && browClips != null)
|
||||||
vrmBlendShapeProxy.Apply();
|
vrmBlendShapeProxy.Apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void LateUpdate() {
|
||||||
|
if (gazeTracking && !only30Points)
|
||||||
|
UpdateGaze();
|
||||||
|
}
|
||||||
|
|
||||||
void FixedUpdate() {
|
void FixedUpdate() {
|
||||||
if (openSeeIKTarget.fixedUpdate) {
|
if (openSeeIKTarget.fixedUpdate) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue