RacesOfValheim/JotunnModStub/Dvergar
kanym 26bfd339e8 fix(visuals): stop the glow eyes from occasionally landing behind the skull
AswidVisuals/DvergarVisuals measure which way the head bone faces
exactly once, the first time BuildEyes runs for a given character, by
reading the bone's live pose at that instant and snapping it to the
nearest axis - then cache the result for as long as the eyes exist.
Taken while sitting, attached, mid-attack or asleep, the head can be
turned away from the body's own forward, and the snap picks whichever
axis is closest to that pose - landing the eyes behind the skull
instead of on the face, and staying wrong for the rest of the session.

ApplyEyes now defers the first build while the player is attached,
attached to a ship, mid-attack or asleep, since it runs again on every
subsequent UpdateColors anyway. Reduces the obvious bad-timing cases;
does not by itself rule out a mistimed read during ordinary idle
animation, which would need the measurement moved to the model's bind
pose (animation-independent) to close out completely.

Also shrinks the Aswid's eyes by 10% (EyeSize 0.062 -> 0.0558), per
request.

Confirmed improved by playtest.
2026-08-09 16:48:35 +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): stop the glow eyes from occasionally landing behind the skull 2026-08-09 16:48:35 +02:00