- Home /
Is there any way to optimize Animation Sampling?
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.
I'm having an issue with animation.sample also although $$anonymous$$e 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.
Your answer
Follow this Question
Related Questions
Do Animation Layers Significantly Affect Performance 1 Answer
Performance question 1 Answer
Simple Animation showing as ~6.3 in Xcode console profiler 0 Answers
Adding animation clips via script 2 Answers
Should i bake the skinned mesh? 1 Answer