|
I'm trying to do a crowd simulation and I'm struggling to optimize it well. As I see in profiler, about 20% of my CPU used for 'Animation.Sample'. Is there any way to reduce the sampling accuracy to gain performance. Thanks in advance.
(comments are locked)
|

I'm having an issue with animation.sample also although mine seems to spike up to about 10ms once in a while.
Having the same issue. Animation.Sample is taking up 20-40% in my case.
The only way is to write your own animations system. However I trust that the Unity API is going to be faster than anything anyone can write, due to very special optimisations.