- Home /
Baked IK animation performance hit
I am working on a project that has hundreds of wires in a scene. Say all of the wires have animation on them and all use 8-12 bones. They won't animate at the same time. At most, 2-3 might be moving at a time. In Max, I can animate using FK or using IK. If I use FK, I just export the animation and don't bake it. If I use IK, I have to bake the animations for Unity to understand them. Would all that keyframe data for all those bones cause any type of performance hit? Or does the keyframe data only matter when the animation for that particular object is playing?
Answer by Paulius-Liekis · Nov 28, 2012 at 04:17 PM
Generally speaking - no it won't matter.
Generally speaking more keys might reduce performance a bit (because of bigger memory footprint and if needs to do searching of keys and so on), but it most likely won't mater due to these reasons:
It won't mater for rotation and scale at all, because Unity simply oversamples your animation at TargetFramerate anyway
It might matter a bit for position, because Unity imports these keys as they are.
It won't matter a lot, because by default you have keyframe reduction enabled, so most likely you won't have more keys with baking on
What you're saying makes sense. I was just curious if having all that keyframe data all being loaded into the scene at once would cause any hiccups on startup, or for that matter at any time.
Your answer
![](https://koobas.hobune.stream/wayback/20220613084633im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Adding animation clips via script 2 Answers
Is 2d animation better for performance over particle system? 1 Answer
How to attach both hands into two handed weapon? 0 Answers
Generic IK and Dynamic Bone - Is this what I think it is? 1 Answer
Can an empty state in Animator cause performance issues? 1 Answer