-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smooth interpolation non differentiability in loop #1965
Comments
@JannisX11 Would you be open to a pull request fixing this issue? This would make walking animations far smoother. |
I'm running on the same issue, trying to get a walk animation right. It's possible to fix this with the Bezier mode, but Bezier do not works with any surrounding smooth keyframe, so this means turning all keyframes into Bezier : a very long and boring process. |
Getting what I believe is the same issue, resulting in an odd pause in the animation seemingly between loops |
What are you trying to do, and what do you expect to happen?
Hi ! 👋
When using smooth interpolation in looping animations, it seems that the last keyframe is not interpolated with the first one of the loop, leading to a breaking point in the curve - non differentiability. (see picture 1 below)
Practically speaking, this leads to a weird momentum in the animation that doesn't feel natural.
Currently, this is fixable using the baking plugin, by turning everything in linear interpolation. The procedure is the following, so that the interpolation is captured correctly:
This gives the following result (see picture 2 below):
This procedure works, but it makes the editing of the animation impossible after baking sadly.
What happens instead?
My suggestion is then the following: simply account for a "ghost" animation after the last keyframe that is a copy of the animation, and perform the interpolation accordingly (see picture below)
Model format in which the issue occurs
generic
Blockbench variant
Program
Blockbench version
4.7.4
Operating System
Windows
Installed Blockbench plugins
Bakery, Animation Sliders
The text was updated successfully, but these errors were encountered: