Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public override bool TryGetPinchingPoint(XRNode handNode, out HandJointPose join
gotData &= TryGetJoint(TrackedHandJoint.IndexTip, handNode, out HandJointPose indexPose);
gotData &= TryGetJoint(TrackedHandJoint.Palm, handNode, out HandJointPose palmPose);

HandJointPose pinchPointPose = handNode == XRNode.LeftHand ? leftPinchPose : rightPinchPose;
ref HandJointPose pinchPointPose = ref (handNode == XRNode.LeftHand ? ref leftPinchPose : ref rightPinchPose);

// Stabilize the pinch pose by a weighted average between the thumb and index.
// A true average (50% thumb, 50% index) is too unstable for precise manipulation.
Expand Down