Skip to content

Fix arm swing accumulation and stabilize hand grips - #45

Merged
a-baran-orhan merged 2 commits into
mainfrom
codex/fix-hand-grip-animation
Jul 12, 2026
Merged

Fix arm swing accumulation and stabilize hand grips#45
a-baran-orhan merged 2 commits into
mainfrom
codex/fix-hand-grip-animation

Conversation

@a-baran-orhan

Copy link
Copy Markdown
Member

What changed

  • make procedural contralateral arm swing idempotent across render frames
  • add a deterministic overhand contact frame for bar-gripping wrists
  • apply wrist orientation after positional grip IK and before finger wrapping
  • add regression coverage for repeated-frame stability, wrist anchoring, and grip orientation

Why

The forward-lunge left shoulder accumulated the procedural swing correction every frame, causing an uncontrolled spin. Bar movements constrained only wrist position, leaving wrist and palm orientation underdetermined and producing poor-looking pull-ups, hangs, and other hand-supported movements.

Impact

Forward lunges keep stable, natural arm swing. Pull-ups and other bar-grip movements now use a consistent contact-aware hand orientation without moving the wrist away from its IK anchor. This establishes an orientation-aware contact layer for future handles, rails, and two-handed props.

Validation

  • npm test -- --run — 246 tests passed
  • npm run build — production build passed
  • visual checks of forward lunge and pull-up
  • no browser console warnings or errors

@vercel

vercel Bot commented Jul 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
posecode Ready Ready Preview, Comment Jul 12, 2026 8:45pm

@a-baran-orhan
a-baran-orhan marked this pull request as ready for review July 12, 2026 20:45
@a-baran-orhan
a-baran-orhan merged commit 695678f into main Jul 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant