You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- These compensations are ONLY applied when the pose requires straight/extended arms
75
75
76
+
# PELVIS ROTATION COMPENSATION (CRITICAL)
77
+
**IMPORTANT**: The pelvis bone is the root of the entire skeleton. Any rotation applied to the pelvis affects the **entire body** (both upper and lower halves), not just the torso.
78
+
79
+
To compensate for the effect of pelvis rotation on the legs, you **MUST** apply counter-rotations to `thigh_l` and `thigh_r`:
80
+
81
+
-**For pelvis.X** (forward/back lean):
82
+
- If `pelvis.X = +15` (body leans forward) → **subtract 15** from `thigh_l.X` and `thigh_r.X`
83
+
- If `pelvis.X = -15` (body leans back) → **add 15** to `thigh_l.X` and `thigh_r.X`
**Example**: If the character leans forward 20° at the hips while keeping legs straight down:
97
+
- Set `pelvis.X = 20`
98
+
- Set `thigh_l.X = -20` and `thigh_r.X = -20` (to compensate)
99
+
- Result: Upper body leans forward, legs remain vertical
100
+
101
+
**Always apply this compensation** when setting non-zero pelvis.X or pelvis.Z rotations to maintain correct leg positioning relative to the ground or intended pose.
102
+
76
103
# ANCHOR-DRIVEN ESTIMATION WORKFLOW (INTERNAL – do not output)
77
104
78
105
## PHASE 1: TORSO ORIENTATION (CRITICAL)
@@ -140,19 +167,28 @@ The MPFB rig's T-pose has inherent bends that must be compensated:
140
167
- Negative X = leg forward
141
168
- Typical range: -135° (high knee) to -10° (slight forward)
142
169
-**Don't over-flex**: -90° is extreme, most poses use -30° to -60°
0 commit comments