Fix hand landmark constants

main
copygirl 2 weeks ago
parent 6cb085ff82
commit f805576494
  1. 20
      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:

Loading…
Cancel
Save