We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7d7fa1 commit 22209dbCopy full SHA for 22209db
addons/hand_pose_detector/hand_pose_detector.gd
@@ -65,6 +65,14 @@ func _process(delta: float) -> void:
65
if not tracker or not hand_pose_set:
66
return
67
68
+ # If the palm is not tracked then skip pose detection. Any current pose will
69
+ # remain active until we see the hand again.
70
+ var flags := tracker.get_hand_joint_flags(XRHandTracker.HAND_JOINT_PALM)
71
+ if (flags & XRHandTracker.HAND_JOINT_FLAG_POSITION_TRACKED) == 0:
72
+ return;
73
+ if (flags & XRHandTracker.HAND_JOINT_FLAG_ORIENTATION_TRACKED) == 0:
74
75
+
76
# Save the active pose before updates (to report changes)
77
var active_pos := _current_pose
78
0 commit comments