HaywireInteractive / OnAllFronts-Public

UE5 MilSim FPS / RTS Game (formerly ProjectM)
MIT License
127 stars 24 forks source link

Fix death animation issues when LOD changes in middle of ragdoll/animation #949

Open Leroy231 opened 6 months ago

Leroy231 commented 6 months ago

Even though we freeze screen size LOD collector in the middle of ragdoll/death animation this is no guarantee that the LOD will be frozen. This can lead to jank if actor switches to ISM in middle of ragdoll. The reason there's no guarantee LOD will be frozen is because we freeze closest viewer distance instead of LOD currently because it was easier to implement.

Solution:

Video of issue:

https://github.com/user-attachments/assets/7a69c6e9-40a4-4fbf-a724-6efb464b4b37