Hello developers, we have recently added two new features to the Animation Editor to help you optimize the number of keyframes in your animations, making them more performant and easier to edit.
A new entry “Optimize Keyframes” has been added to the Animation Editor’s main menu. This tool will display a dialog window with a slider. By moving the slider, you can interactively reduce the number of keyframes. The Keyframe optimization is applied in such a way that the less impactful keyframes are removed first, keeping the resulting animation as close as possible to the original clip.
While the dialog window is displayed, you can still play the animation or move the scrubber. However, all editing operations are disabled (changing a keyframe’s value, selecting keyframes, adding/removing tracks, etc…). This tool is particularly useful for clips imported from the Animation Capture - Body feature.
This feature automatically detects and removes constant keyframe sequences from animations. This is automatically applied on Animation Capture - Face animations and when promoting a Keyframe animation to a Curve animation.
If consecutive keys have the same value in a track, then only the first and the last of those keys are kept. The intermediary keyframes are removed.
If the track only has default values (Identity CFrames for KeyframeSequences, or 0 for Curve animations), then the entire track is removed from the animation.
Please try these features out and let us know if you have any questions or feedback!