Ludovic Marie
84adffc3f2
Hand sway: the first-person hands lag behind the view, as in vanilla
...
Vanilla keeps xBob and yBob on the LocalPlayer: applyInput eases them
halfway to the player's rotation every tick, and
FirstPersonHandsAndItemsRenderer turns both hands by
(viewXRot - xBob) * 0.1 degrees about X, then (viewYRot - yBob) * 0.1 about
Y, before drawing either (FirstPersonHandsAndItems.extractRenderState
interpolates the bobs). Horizon drew the hands fixed to the view.
- first_person::HandSway: the bobs, applyInput's tick and the rotation.
- The game ticks it with the hands and resets it where vanilla makes a new
LocalPlayer (joining, respawning, changing dimension, leaving the End);
hand_geometry turns the arm, held items and maps by it.
The first-person harness's steps can turn the player: the oracle sets the
LocalPlayer's rotation and calls the real applyInput, and both sides print
xBob, yBob, xBobO and yBobO every tick (turning scenarios plus random turns
in the random cases).
Fixes #66
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-14 15:30:30 +02:00
..
2026-10-13 22:00:44 +02:00
2026-10-12 17:19:13 +02:00
2026-10-14 15:30:30 +02:00
2026-10-13 17:17:43 +02:00
2026-10-13 18:16:09 -04:00
2026-10-13 22:44:16 +02:00
2026-10-13 22:25:27 +02:00
2026-10-13 17:08:34 -04:00
2026-10-13 17:08:34 -04:00
2026-10-09 00:28:32 +02:00
2026-10-10 06:04:52 +02:00
2026-10-12 17:57:27 +02:00
2026-10-09 08:18:48 +02:00
2026-10-10 22:03:51 +02:00
2026-10-09 13:00:26 +02:00
2026-10-09 00:28:32 +02:00
2026-10-10 22:16:52 +02:00
2026-10-12 13:29:20 +02:00
2026-10-07 18:27:58 +02:00
2026-10-13 16:10:32 +02:00
2026-10-11 14:11:51 +02:00
2026-10-09 12:40:31 +02:00
2026-10-11 15:40:15 +02:00
2026-10-13 01:55:46 +02:00
2026-10-10 03:50:14 +02:00
2026-10-13 17:08:34 -04:00
2026-10-10 07:16:12 +02:00
2026-10-13 15:06:46 -04:00
2026-10-13 03:05:34 +02:00
2026-10-12 15:47:55 +02:00
2026-10-10 22:24:03 +02:00
2026-10-13 23:18:40 +02:00
2026-10-09 00:28:32 +02:00
2026-10-14 14:38:52 +02:00
2026-10-10 07:14:42 +02:00
2026-10-13 06:27:55 +02:00
2026-10-10 08:46:23 +02:00
2026-10-10 06:58:30 +02:00
2026-10-14 14:38:52 +02:00
2026-10-11 15:43:57 +02:00
2026-10-09 13:01:12 +02:00
2026-10-12 15:40:44 +02:00
2026-10-14 14:34:32 +02:00
2026-10-13 21:57:09 +02:00
2026-10-13 22:25:27 +02:00
2026-10-13 22:24:55 +02:00
2026-10-09 13:01:12 +02:00
2026-10-11 16:34:17 +02:00
2026-10-13 15:33:29 +02:00
2026-10-09 13:22:33 +02:00
2026-10-09 01:28:55 +02:00
2026-10-13 23:01:02 +02:00
2026-10-13 23:18:40 +02:00
2026-10-14 14:38:52 +02:00
2026-10-13 17:10:07 +02:00
2026-10-12 16:23:34 +02:00
2026-10-14 15:30:30 +02:00
2026-10-13 03:54:23 +02:00
2026-10-14 14:38:52 +02:00
2026-10-13 18:16:09 -04:00
2026-10-13 15:19:14 +02:00
2026-10-14 15:30:30 +02:00
2026-10-09 00:28:32 +02:00
2026-10-14 14:38:52 +02:00
2026-10-13 00:27:35 +02:00
2026-10-13 17:10:07 +02:00
2026-10-13 17:17:43 +02:00
2026-10-13 17:17:43 +02:00
2026-10-09 04:59:58 +02:00
2026-10-13 06:21:56 +02:00
2026-10-12 13:28:05 +02:00
2026-10-12 17:35:05 +02:00
2026-10-13 18:16:09 -04:00
2026-10-08 15:22:01 +02:00
2026-10-09 04:59:58 +02:00
2026-10-07 15:45:47 +02:00
2026-10-13 22:25:27 +02:00
2026-10-13 17:08:34 -04:00
2026-10-13 05:35:49 +02:00
2026-10-14 15:00:41 +02:00
2026-10-09 14:06:43 +02:00
2026-10-09 14:06:43 +02:00
2026-10-09 14:06:43 +02:00
2026-10-10 22:12:23 +02:00
2026-10-07 18:08:04 +02:00
2026-10-12 17:07:47 +02:00
2026-10-14 14:34:26 +02:00
2026-10-13 15:34:48 +02:00
2026-10-13 15:02:15 +02:00
2026-10-13 22:25:27 +02:00
2026-10-13 23:01:02 +02:00
2026-10-13 17:08:34 -04:00
2026-10-13 17:08:34 -04:00
2026-10-07 23:24:14 +02:00
2026-10-13 22:24:57 +02:00
2026-10-10 06:58:30 +02:00
2026-10-13 15:19:14 +02:00
2026-10-10 22:10:06 +02:00
2026-10-09 13:01:12 +02:00
2026-10-09 00:28:32 +02:00
2026-10-13 03:05:34 +02:00
2026-10-10 06:58:30 +02:00
2026-10-13 17:17:43 +02:00
2026-10-13 22:24:57 +02:00
2026-10-13 06:07:04 +02:00
2026-10-13 06:10:23 +02:00
2026-10-13 23:18:40 +02:00
2026-10-12 16:22:29 +02:00
2026-10-13 17:10:07 +02:00
2026-10-09 02:28:28 +02:00
2026-10-13 15:19:14 +02:00
2026-10-13 16:44:20 +02:00
2026-10-11 19:02:46 +02:00
2026-10-12 16:22:29 +02:00
2026-10-13 22:30:33 +02:00
2026-10-13 02:22:55 +02:00
2026-10-13 05:43:31 +02:00
2026-10-13 17:10:07 +02:00
2026-10-12 16:23:34 +02:00
2026-10-10 22:24:03 +02:00
2026-10-12 17:35:05 +02:00
2026-10-13 06:27:55 +02:00
2026-10-12 15:29:53 +02:00
2026-10-12 17:38:25 +02:00
2026-10-08 15:40:25 +02:00
2026-10-12 16:25:06 +02:00
2026-10-13 15:34:48 +02:00
2026-10-13 17:08:34 -04:00
2026-10-09 00:28:32 +02:00
2026-10-13 03:17:04 +02:00
2026-10-11 18:00:32 +02:00
2026-10-13 22:24:57 +02:00
2026-10-10 22:13:40 +02:00
2026-10-13 16:14:57 +02:00
2026-10-07 17:55:29 +02:00
2026-10-07 18:52:46 +02:00
2026-10-13 22:25:27 +02:00
2026-10-10 06:20:08 +02:00
2026-10-14 00:19:43 +02:00
2026-10-09 13:19:05 +02:00
2026-10-12 17:25:13 +02:00
2026-10-13 22:29:31 +02:00
2026-10-10 06:01:10 +02:00
2026-10-13 05:43:51 +02:00
2026-10-13 21:57:09 +02:00
2026-10-13 21:57:09 +02:00
2026-10-13 21:57:09 +02:00
2026-10-13 23:38:02 +02:00
2026-10-14 14:34:26 +02:00
2026-10-13 21:57:09 +02:00
2026-10-13 15:34:48 +02:00
2026-10-13 17:17:43 +02:00
2026-10-13 16:14:57 +02:00
2026-10-12 17:25:13 +02:00
2026-10-09 00:28:32 +02:00