fix(vagrant): hip-anchors body-relative; leg-orientation procedural

User feedback: 'anchorpoints sind hüftgelenke und können sich nicht
frei drehen. hüfte bleibt zum körper statisch'.

Architecture:
- legs.parent = body (was lower_control). Hip position cascades from
  body.world.rot, so hips stay at body-frame left/right regardless of
  body rotation. lower_control virtual bone removed (no longer needed).
- Procedural 'leg_orientation' sets leg.local.rot = walk_dir - body.rot
  each frame, so leg.world.rot = walk_dir (independent of body cascade).
  Requires puppet v0.4.2 per-channel write_bone (walk_anim writes leg.scl
  while procedural writes leg.rot — disjoint channels).

Result: legs visually attach at body's anatomical left/right hips no
matter where body faces; stride oscillation aligns with WASD walk
direction. Hip position no longer drifts with walk direction.
This commit is contained in:
Axel Meyer
2026-05-18 21:57:20 +02:00
parent 0a7ef7f270
commit 77f3e726ae
3 changed files with 14 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
{"id": "lib-core.camera", "version": "0.3.0"},
{"id": "lib-core.render", "version": "0.1.0"},
{"id": "lib-core.maps", "version": "0.1.2"},
{"id": "lib-core.puppet", "version": "0.4.1"},
{"id": "lib-core.puppet", "version": "0.4.2"},
{"id": "lib-asset.prototype-subterrain", "version": "0.1.1"}
]
}