I added simple animation frame interpolation, with basically single line of code, to make the animations smoother:
current_angle = last_frame_angle + (time_elapsed_since_last_frame/frame_time)*(next_frame_angle-last_frame_angle)
Left is the original animation, right is with interpolation between frames, both slowed down:
No comments:
Post a Comment