From f8055764941746f1a3298a5db55fb5c23fb38ebb Mon Sep 17 00:00:00 2001 From: copygirl Date: Thu, 19 Dec 2024 13:27:54 +0100 Subject: [PATCH] Fix hand landmark constants --- copyMediaPipe.gd | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/copyMediaPipe.gd b/copyMediaPipe.gd index 94c90f6..04a14b9 100644 --- a/copyMediaPipe.gd +++ b/copyMediaPipe.gd @@ -385,16 +385,16 @@ const INDEX_FINGER_DIP := 7 const INDEX_FINGER_TIP := 8 const MIDDLE_FINGER_MCP := 9 const MIDDLE_FINGER_PIP := 10 -const MIDDLE_FINGER_DIP := 12 -const MIDDLE_FINGER_TIP := 13 -const RING_FINGER_MCP := 14 -const RING_FINGER_PIP := 15 -const RING_FINGER_DIP := 16 -const RING_FINGER_TIP := 17 -const PINKY_MCP := 18 -const PINKY_PIP := 19 -const PINKY_DIP := 20 -const PINKY_TIP := 21 +const MIDDLE_FINGER_DIP := 11 +const MIDDLE_FINGER_TIP := 12 +const RING_FINGER_MCP := 13 +const RING_FINGER_PIP := 14 +const RING_FINGER_DIP := 15 +const RING_FINGER_TIP := 16 +const PINKY_MCP := 17 +const PINKY_PIP := 18 +const PINKY_DIP := 19 +const PINKY_TIP := 20 ## Calculate the hand rotation from the hand tracking's world landmarks. func get_hand_rotation(side: String, landmarks: Array[Vector3]) -> Basis: