Make held items follow bent arms and straighten the first-person arm #3

Merged
selimaj-dev merged 1 commits from held-items into master 2026-09-26 18:31:22 +00:00
1 Commits
Author SHA1 Message Date
selimaj-devandclaude c3b0e86548 Make held items follow bent arms and straighten the first-person arm
- PlayerModelMixin: after translateToHand, move the item from the hand of
  the straight arm to the hand of the bent one (BendTransforms.attachAt,
  the same rigid move as the ring at the hand). PlayerModel overrides
  translateToHand for slim arms without calling HumanoidModel's, so the
  hook has to be on PlayerModel.
- FirstPersonHandMixin: the first-person arm is drawn from the shared
  model without setupAnim, so clear any bend left by the last
  third-person player.
- LimbBend.start()/end() getters.
- testmod: a hold animation, and gametest shots holding a sword and in
  first person.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-26 20:31:01 +02:00