The engine already does that. Animations are saved as keyframes that represent the state of the animation at a given time. If your game renders a frame in between 2 keyframes the engine will simply interpolate between thes keyframes, so that it looks as if there was a keyframe there too. So you don’t need to worry about any of that, a animation looks the same, no matter what your framerate is, it will not suddenly play faster or slower.
1 Like