RacesOfValheim/JotunnModStub/Skadi
kanym 4793811978 fix(transform): return from monster forms without replaying the spawn animation
Hiding the human body with SetActive(false) on the player's "Visual" also
disabled the Animator that lives on it, and Unity rebinds an Animator when it
is re-enabled: the controller restarts from its entry state, which for the
player is the get-up clip played when joining a world. Every Skadi dragon form,
Bat Form and Mist Form therefore ended with the player standing back up off the
ground.

PlayerVisualHider hides the body by suppressing its renderers instead, leaving
the GameObject active so the Animator and ZSyncAnimation keep running for the
whole transformation. Hiding uses forceRenderingOff on top of Renderer.enabled,
which nothing else in the game writes on a character, so the body cannot be
un-hidden behind our back.

Applied to the local and remote paths of both races, and to the ZDO sync's
revert so a remote player who dies mid-form cannot stay invisible.
2026-08-02 18:56:51 +02:00
..
DrakeFormBehavior.cs Add the Race Menu Ward; WIP on remote Trol/Skadi visuals 2026-08-02 08:45:47 +02:00
dummy.txt Initial commit 2026-07-30 19:00:13 +02:00
SkadiPatches.cs fix(transform): return from monster forms without replaying the spawn animation 2026-08-02 18:56:51 +02:00
SkadiProgression.cs Move Freezing-to-Cold to Bonemass and eitr regen to Yagluth 2026-08-01 18:02:24 +02:00
SkadiRace.cs fix(transform): return from monster forms without replaying the spawn animation 2026-08-02 18:56:51 +02:00
SkadiStatusEffects.cs Rework Skadi combat costs, fix dead melee, add cooldown icons 2026-08-01 18:02:24 +02:00