feat: Refactor head transformation logic and update driver paths for pivot integration

This commit is contained in:
2026-08-25 08:47:16 -04:00
parent 07bef66703
commit 4d490eef6c
3 changed files with 22 additions and 16 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ const BODY_PATHS: Dictionary = {
## its bone; its `global_rotation` is the bone frame used (Phase 9 Round 5) to
## convert the master-space guide_offset into a bone-relative placement.
const DRIVER_PATHS: Dictionary = {
"head": "Skeleton2D/Torso/Head/RemoteTransform2D",
"head": "Skeleton2D/Torso/Head/Pivot/RemoteTransform2D",
"torso": "Skeleton2D/Torso/RemoteTransform2D",
"left_upper_arm": "Skeleton2D/Torso/LeftUpperArm/RemoteTransform2D",
"left_lower_arm": "Skeleton2D/Torso/LeftUpperArm/LeftLowerArm/RemoteTransform2D",
@@ -89,7 +89,7 @@ const IK_LEFT_LEG := "IK_Targets/Left_Leg"
const IK_RIGHT_LEG := "IK_Targets/Right_Leg"
const HEAD_BONE_PATH := "Skeleton2D/Torso/Head"
const HEAD_DRIVER_PATH := "Skeleton2D/Torso/Head/RemoteTransform2D"
const HEAD_DRIVER_PATH := "Skeleton2D/Torso/Head/Pivot/RemoteTransform2D"
# ---------------------------------------------------------------------------
# Public API