Skip to content

Commit f5ea172

Browse files
committed
fix eye constraint
1 parent 045fb74 commit f5ea172

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UE4WS_CharacterBoneManipulation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,6 +1930,8 @@ def SC_FaceEyelidHuman(bone, faceAttach):
19301930
constraints.show_expanded = False
19311931
constraints.target = self.activeObject
19321932
constraints.subtarget = bone.get("BONE_CONTROL")
1933+
constraints.track_axis = "TRACK_Y"
1934+
constraints.up_axis = "UP_Z"
19331935
constraints.target_space = "POSE"
19341936
constraints.owner_space = "POSE"
19351937
# custom shape

0 commit comments

Comments
 (0)