Skip to content

Commit 90f3586

Browse files
author
ChengNan Yang
committed
Fix hand tracking to allow system to get input focus
1 parent b54d496 commit 90f3586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/HTC.UnityPlugin/VRModule/Submodules/WaveHandTrackingSubmodule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ public void UpdateJoints(IVRModuleDeviceStateRW state, bool isLeft)
475475
state.handJoints[handJointMapping[s_NaturalHandJoints[i]]] = new JointPose(p);
476476
}
477477

478-
state.isPoseValid = data.isValidPose;
478+
state.isPoseValid = data.isValidPose && !Interop.WVR_IsInputFocusCapturedBySystem();
479479
state.pose = state.handJoints[HandJointName.Wrist].pose;
480480
}
481481

0 commit comments

Comments
 (0)