branchrust_reboot/main/player_model_perf_improvementscancel
3 Commits over 0 Days - ∞cph!
Add debug.disable_distant_sleepers convar to toggle/compare new animator disabling logic, defaults to on
Will take 10s for animators to fully disable when convar is turned on
Always enable the sleeping animator if the player is within 10m, lets the very subtle sleeping animation that I had never noticed before play as intended
Disable player animators on players that have been sleeping for more than 10s
In a scene with 200 sleepers this drops animator handling time from 7.2ms to 0.3ms
Automatically resumes once player wakes up, seems like no visible consequences