RacesOfValheim/JotunnModStub/Dvergar
kanym e7d60f61ba fix(dvergar): measure where the eyes go instead of guessing at it
Three attempts have now placed these by picking a distance from a bone and hoping,
and all three landed somewhere wrong - above the head, on the camera, and inside
the skull. The distance was never the thing to fix.

Character.m_eye is the game's own answer to where a player's eyes are. Asking the
head bone to express that point in its local space gives an offset that is
correct by construction: no working out which way the bone points, no hand-picked
distance from the base of the skull, and because the result is local it rides
every head animation without being recomputed. The config offsets stay as small
nudges in metres on top of that, with EyeForward pushing out of the skull to the
surface of the face.

Also logs the bone name, its scale and the measured eye point once per session,
so the next round starts from numbers rather than from another guess.
2026-08-05 20:33:13 +02:00
..
DvergarAbilities.cs feat(dvergar): rename from Dvergur, and give it a lightning affinity 2026-08-04 00:22:58 +02:00
DvergarConfig.cs fix(dvergar): measure where the eyes go instead of guessing at it 2026-08-05 20:33:13 +02:00
DvergarPatches.cs feat(dvergar): give the eyes a glow, and take the colour from the stars 2026-08-05 20:05:52 +02:00
DvergarProgression.cs feat(dvergar): rename from Dvergur, and give it a lightning affinity 2026-08-04 00:22:58 +02:00
DvergarRace.cs fix(dvergar): put the eyes on the head instead of on the camera 2026-08-05 20:14:08 +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(dvergar): measure where the eyes go instead of guessing at it 2026-08-05 20:33:13 +02:00