RacesOfValheim/JotunnModStub/Dvergar
kanym 3f09c7cf3f fix(visuals): measure the skull's facing from the bind pose, for all three clawed races
The eye frame was read from the head bone's pose ON THE FRAME THE EYES
WERE BUILT, snapped to the nearest axis, then cached for the life of the
eyes. Catch the head a few degrees into a turn and the snap picks the
neighbouring axis, and the pair stays wrong until something rebuilds it.

Each race met this separately and each added the same guard - do not
build while attached, mid-attack or asleep - which caught the loud cases
and left the quiet one: a race change rebuilds while the rig is still
settling, which is none of those three. That is why resetting into a
race could break the placement while logging out and back in silently
fixed it. The logout was never a fix, only a rebuild at a calmer moment,
and no fourth guard condition would have closed it - the read itself had
to stop depending on when it happens.

sharedMesh.bindposes[headBone] is the rig as authored: no animation in
it, no timing, the same answer on frame one and frame ten thousand. A
rebuild is now deterministic and a bad moment cannot exist. Falls back to
the live read, warning once, on a rig that carries no bind pose.

Lives in one shared RigBindPose rather than in three copies. The three
eye implementations are separate files by design - they differ in what
they hang and how it is coloured - but this is the one piece of maths
where a divergence would be a bug in whichever copy got fixed second,
and it had already been fixed twice. The three now-dead private
SnapToAxis copies go with it.

Also updates the Aswid eye defaults to the values dialled in on screen:
forward 0.013, height 0.004, yaw 22.068.
2026-08-12 17:33:46 +02:00
..
DvergarAbilities.cs fix(input): abilities no longer die while a movement key is held 2026-08-09 12:33:41 +02:00
DvergarBanco.cs feat(races): Skadi hollow chain, plus the pending Dvergar and Fenrir ones 2026-08-08 14:58:43 +02:00
DvergarBancoBehaviour.cs feat(races): Skadi hollow chain, plus the pending Dvergar and Fenrir ones 2026-08-08 14:58:43 +02:00
DvergarBancoStore.cs feat(races): Skadi hollow chain, plus the pending Dvergar and Fenrir ones 2026-08-08 14:58:43 +02:00
DvergarBotte.cs feat(races): Skadi hollow chain, plus the pending Dvergar and Fenrir ones 2026-08-08 14:58:43 +02:00
DvergarBotteBehaviour.cs feat(races): Skadi hollow chain, plus the pending Dvergar and Fenrir ones 2026-08-08 14:58:43 +02:00
DvergarConfig.cs feat(dvergar): make ability numbers and keybinds BepInEx-configurable 2026-08-06 13:56:00 +02:00
DvergarConfigManagement.cs feat(dvergar): make ability numbers and keybinds BepInEx-configurable 2026-08-06 13:56:00 +02:00
DvergarPatches.cs chore(dvergar): retire the eye trace and the shader survey 2026-08-05 21:44:50 +02:00
DvergarProgression.cs feat(dvergar): make ability numbers and keybinds BepInEx-configurable 2026-08-06 13:56:00 +02:00
DvergarRace.cs feat(races): Skadi hollow chain, plus the pending Dvergar and Fenrir ones 2026-08-08 14:58:43 +02:00
DvergarStatusEffects.cs feat(dvergar): rename from Dvergur, and give it a lightning affinity 2026-08-04 00:22:58 +02:00
DvergarVisuals.cs fix(visuals): measure the skull's facing from the bind pose, for all three clawed races 2026-08-12 17:33:46 +02:00