Unity-Runtime-Animation-Recorder
Unity-Runtime-Animation-Recorder copied to clipboard
file size and limiting bones.
Hello, I'm looking at baking some simulated bones with this and am starting to update your scripts to allow for only recording bones specified by an avatarMask and to limit the recording framerate for 15fps. Basically I need to shrink the .anim file (don't need keys for position and scale on every frame).
Before I dive too far, I thought I'd check if you or anyone has already done this.
Same problem. File is too big. 11 seconds -> 64 mb.
Well, this project still needs some work to be a "complete tool". For now, it still needs some customization to fit every case. For example, recording in Update, FixedUpdate or LateUpdate could matter when working with some other plugins. I didn't write options for every use case though.
In this case, you can simply add something like if( frameCount % 3 == 0 ) to limit the record rate. (I did this two days ago when I'm recording an AR effect for my project)