Head movements from gaze no longer not work when headanimation is disabled
This commit is contained in:
parent
3c853c3ba1
commit
9e5916d06c
@ -27,7 +27,7 @@ namespace Passer.Humanoid {
|
|||||||
|
|
||||||
#if hFACE
|
#if hFACE
|
||||||
if (headTarget.neck.target.confidence.rotation < 0.2F && headTarget.head.target.confidence.rotation < 0.2F &&
|
if (headTarget.neck.target.confidence.rotation < 0.2F && headTarget.head.target.confidence.rotation < 0.2F &&
|
||||||
headTarget.face.leftEye.target.confidence.rotation > 0.2F) {
|
headTarget.face.leftEye.target.confidence.rotation > 0.2F && headTarget.headAnimator.headAnimation == true) {
|
||||||
|
|
||||||
UpdateHeadBonesFromGazeDirection(headTarget);
|
UpdateHeadBonesFromGazeDirection(headTarget);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user