Files
sporel-module-vagrant-skeleton/manifest.module
Axel Meyer 77f3e726ae 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.
2026-05-18 21:57:20 +02:00

22 lines
765 B
Plaintext

{
"id": "vagrant-skeleton",
"version": "0.4.0",
"kind": "module",
"api": "^0.1",
"ci_frames": 60,
"entry_point": "init.lua",
"asset_aliases": {
"player": "lib-asset.prototype-subterrain",
"tiles": "lib-asset.prototype-subterrain",
"world": "lib-asset.prototype-subterrain"
},
"deps": [
{"id": "lib-core.input", "version": "0.4.0"},
{"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.2"},
{"id": "lib-asset.prototype-subterrain", "version": "0.1.1"}
]
}