chore: document Cam bone camera track and refresh IDE/build state

- Document the Cam animation bone in CLAUDE.md, including camera takeover, axis and unit conventions, and anchor behaviour.
- Add cursemaven.com as a remote repository in .idea/jarRepositories.xml.
- Track the new Claude Code editor session in .idea/claudeCodeEditorTabs.xml.
- Refresh Gradle caches, build output and run logs.
This commit is contained in:
richard committed 2026-12-02 15:57:12 +01:00
1 parent 3fadf8bd0c
commit 2b3a0d9473
26 files changed
+2143 -1152

No files matched your search

+5
View File
@@ -134,6 +134,11 @@ Tags: **Decided**, **Leaning**, **Open**. Numbers marked "starting value" are pl
- Animation timing: Blockbench timeline at 20 fps (one tick = 0.05 s). Tune Break is 1.4 s (28 ticks).
- Before every export, check that the last frame returns to the idle pose. Blockbench holds the last position value of a channel that has no key at the end (Root height, Tool_R position and the legs bit us before). Only the Root's forward travel may differ.
- Tune Break types: sword, broadblade, gauntlets, pistols, rectifier, bow. Spear and trident count as sword.
- **Decided: `Cam` bone.** Every animation of this mod has a bone called `Cam`. If an animation has keyframes for `Cam`, that bone takes over the camera (position and angles) while the animation plays; afterwards the camera blends back (0.35 s). Epic Fight ignores the bone (not in the armature, debug log only); the mod reads it from the JSON (`client/CamTrackLoader`, re-read on F3+T).
- Convention: `Cam` looks along its local **+Y**, **+Z** is up, +X is right. An unrotated `Cam` looks where the character faces (Epic Fight's animation data moves forward along +Y). Units are blocks, origin at the character's feet. Verified by the game test `camAxesFollowEntityFacing`.
- Anchor: the player's position when the animation starts, turned with the model. Like in Blockbench, the camera stays put while root motion moves the character away from it.
- Keep `Cam` a top-level bone (not under `Root`), otherwise it moves with the dash.
- Code: `anim/CamTrack`, `anim/CamMath`, `client/AnimationCamera`. Not verified in game yet: roll sign, the player's 0.9375 model scale.
## Working agreement