You will have to override player's DeathThink function in ZScript for that, as it forces the player's pitch to zero no matter what. (Well, if you give the player the ICECORPSE flag then it won't affect the pitch, but that will not have desired behavior)
The function can be found in gzdoom.pk3:zscript/actors/player/player.zs at line 682.
You can mostly just copy that function and change the pitch changing code, it has a comment saying "Fall to ground (if not frozen)".
The function can be found in gzdoom.pk3:zscript/actors/player/player.zs at line 682.
You can mostly just copy that function and change the pitch changing code, it has a comment saying "Fall to ground (if not frozen)".
Statistics: Posted by Jarewill — Fri Jan 19, 2024 5:22 am