RacesOfValheim/JotunnModStub/Aswid
kanym 982e88fa57 fix(aswid): stop borrowing the Skeleton's eye position, only its mesh
player.transform (previous commit) fixed the frame used for the
shift/rotation config offsets, but that code path is inert at every
offset's default of 0 - so it never touched the actual bug. The real
placement came from source.localPosition, copied straight off the
Skeleton creature's eye_l/eye_r and reinterpreted under the player's
own head bone. That only works if the two rigs agree on scale, and
they do not: the Skeleton's rig measured 0.02 lossy scale at the eye
bone against this player rig's ~95-100, with nothing tying one
prefab's authored scale to another's. Taken as-is it put the eyes
roughly 0.2 world units off the head bone - visibly floating above
the face, on every single build, matching the "never fixes, not even
after logout" report exactly.

Eyes are now placed from the player's own measured frame and three
fixed constants (BaseEyeForward/Height/Separation) - the pre-rewrite
sphere code's own numbers, already tuned and playtested on this exact
rig. Still borrows eye_l/eye_r for their mesh and material (the actual
point of the rewrite - real lit sockets instead of painted spheres),
just not their transform.

Confirmed against real numbers from in-game diagnostic logging rather
than guessed a third time; that logging has been removed.
2026-08-12 15:35:14 +02:00
..
AswidBloodPotions.cs feat(aswid): blood refinery and blood potions 2026-08-07 17:02:34 +02:00
AswidBloodRefinery.cs feat(aswid): blood refinery and blood potions 2026-08-07 17:02:34 +02:00
AswidClaws.cs warvulture 2026-08-11 19:29:58 +02:00
AswidConfig.cs Merge branch 'war-vulture' into main 2026-08-11 20:35:48 +02:00
AswidExtraFoodUI.cs Initial commit 2026-07-30 19:00:13 +02:00
AswidFoodManager.cs Initial commit 2026-07-30 19:00:13 +02:00
AswidPatches.cs feat(aswid): let players toggle the Vampiric Aura, move Devour off I 2026-08-09 17:11:25 +02:00
AswidProgression.cs Add Aswid passive lifesteal scaling with progression state 2026-07-30 22:34:26 +02:00
AswidRace.cs Merge branch 'war-vulture' into main 2026-08-11 20:35:48 +02:00
AswidSpectralClaw.cs fix(aswid): center Vampiric Aura on the caster and stop transforms from casting the real Guardian Power 2026-08-03 21:37:58 +02:00
AswidStatusEffects.cs feat(aswid): make abilities and special attacks BepInEx-configurable 2026-08-06 13:33:39 +02:00
AswidThrall.cs feat(aswid): make abilities and special attacks BepInEx-configurable 2026-08-06 13:33:39 +02:00
AswidVisuals.cs fix(aswid): stop borrowing the Skeleton's eye position, only its mesh 2026-08-12 15:35:14 +02:00
BatFormBehavior.cs Initial commit 2026-07-30 19:00:13 +02:00
BloodRefineryBehaviour.cs feat(aswid): blood refinery and blood potions 2026-08-07 17:02:34 +02:00