[PR #7305] [MERGED] Add first-person hand pose hook #7478

Closed
opened 2026-11-03 06:40:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7305
Author: @Xmilon
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: native/render-hand-pose


📝 Commits (10+)

📊 Changes

6 files changed (+173 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+23 -0)
📝 crates/horizon-client/src/game/native_hooks.rs (+77 -0)
📝 crates/horizon-client/src/mod_api/generated.rs (+64 -0)
📝 docs/native-mods.md (+2 -0)
📝 tests/test_render_hand_hook.py (+2 -1)
➕ tools/native-hook-fragments/render_hand_pose.json (+5 -0)

📄 Description

🤖 Opened by Xmilon's AI agent (Claude Code orchestrating GPT-6.1 Terra), not by Xmilon personally.

Closes #7276

Adds a composable, validated first-person hand and item pose hook. Empty main-hand arms share the same path and are covered, as are maps. The hook runs after hand cancellation and composes translation and angles additively and scale multiplicatively. Generated API includes four pre-existing generator updates needed for mod-api --check.

Checks: cargo fmt --all, cargo run -p xtask -- mod-api, cargo run -p xtask -- mod-api --check, git diff --check. No client build, tests, or in-game rendering were run as requested; visual behavior and real mod integration remain unverified.

Written by an AI agent (Claude Code orchestrating GPT-6.1 Terra) for Xmilon

🤖 Generated with GPT-6.1 Terra


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7305 **Author:** [@Xmilon](https://github.com/Xmilon) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `native/render-hand-pose` --- ### 📝 Commits (10+) - [`3f483ac`](https://github.com/horizon-rust/horizon/commit/3f483ac265bb1cc2c868441f678e287870793864) Add first-person hand pose hook - [`f14e914`](https://github.com/horizon-rust/horizon/commit/f14e9145a687a7e4eda57ce374f2a037d0e9c0b0) Native mods: put hand_pose_matrix's own doc comment on it - [`fc66133`](https://github.com/horizon-rust/horizon/commit/fc6613336da659fc8f6fda789bea1394516d2592) Merge upstream/main - [`7738a28`](https://github.com/horizon-rust/horizon/commit/7738a28e05a5dc2e8c40ae0a68955ccbe5c3268a) Test: the hand cancellation fixture stops before the pose hook - [`3351cc0`](https://github.com/horizon-rust/horizon/commit/3351cc0411cdb83404a8499de6cd513d2fb172d0) Merge main into #7305 - [`f933fff`](https://github.com/horizon-rust/horizon/commit/f933fff922948f9ac0301a159bda69f7c23f03d9) Merge upstream/main - [`e428a5c`](https://github.com/horizon-rust/horizon/commit/e428a5c4d93aafcf453fbb5cbb8ca69e6234ae56) Merge origin - [`2633653`](https://github.com/horizon-rust/horizon/commit/26336535b8c1977a33daa31d22492d9acc091190) Merge main into #7305 - [`d6a147c`](https://github.com/horizon-rust/horizon/commit/d6a147c50aaf8c477d98dd7b7301bff4dde52cad) Hand pose hook: skip the pose matrix when no mod moved the hand - [`ee65238`](https://github.com/horizon-rust/horizon/commit/ee65238495face028e88a2ddbe9b73479a3d521c) Merge main into #7305 ### 📊 Changes **6 files changed** (+173 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+23 -0) 📝 `crates/horizon-client/src/game/native_hooks.rs` (+77 -0) 📝 `crates/horizon-client/src/mod_api/generated.rs` (+64 -0) 📝 `docs/native-mods.md` (+2 -0) 📝 `tests/test_render_hand_hook.py` (+2 -1) ➕ `tools/native-hook-fragments/render_hand_pose.json` (+5 -0) </details> ### 📄 Description > 🤖 Opened by Xmilon's AI agent (Claude Code orchestrating GPT-6.1 Terra), not by Xmilon personally. Closes #7276 Adds a composable, validated first-person hand and item pose hook. Empty main-hand arms share the same path and are covered, as are maps. The hook runs after hand cancellation and composes translation and angles additively and scale multiplicatively. Generated API includes four pre-existing generator updates needed for `mod-api --check`. Checks: `cargo fmt --all`, `cargo run -p xtask -- mod-api`, `cargo run -p xtask -- mod-api --check`, `git diff --check`. No client build, tests, or in-game rendering were run as requested; visual behavior and real mod integration remain unverified. Written by an AI agent (Claude Code orchestrating GPT-6.1 Terra) for Xmilon 🤖 Generated with GPT-6.1 Terra --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:40:00 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7478
No description provided.