Palindrome method for Unreal Animation

This is a slightly laborious method to palindrome anims where we want several forward and backwards loops.

Copy animation, make rate speed = -1.

Make an Animation Montage with X copies of forward Anim.

Make a second Animation montage with X copies of backward Anim.

Get the character, set the character to use Animation/AnimationMode = Use Animation Assert, set Anim to Play as the forward montage.

Open the character blueprint and add a bit of code. For example, Im playing first the forward montage then the backwards montage; I have a function timer that randomises the play rate and lerps between old and new rates to give some speed variance.

 

This seems curiously long-winded. There may be a better way…