This plugin is built on the foundation of this article by Daniel Holden.
- Download the Python script
- In Blender go to Edit -> Preferences -> Add-ons
- Click on "Install from Disk"
- Select the downloaded animation_looper.py file
- The animation looper panel now should appear under the Edit tab on the right
- Import an animtion into Blender. (Optionally also bring in a model so you can see more than just bones)
- Cut off the beginning and end so that the animation starts and ends with relatively similar poses
- Readjust the keyframes so that the animation starts at frame 0
- Select the armature
- Optionally, press the "Remove Root Motion" button, that will make the character stay in place
- Press the "Loop Animation" button (make sure the correct root bone is selected, on most skeletons this is the "Hips" bone)
- Now you should have a smoothly looping animation
- Too large of a difference between the start and end of the animation can lead to unrealistic movements
- Implement more algorithm options from the article
- Add setting for the algorithm to only affect the beginning and end of the animation
- Right now the plugin assumes a key exists for every frame, fail saves need to be added for this
- Add cleanup step to remove unnecessary keys after looping

