I am trying to play a run-to-idle animation when my character stops moving. However, the run-to-idle animation begins from the first/last frame of the running animation. Because of that, when the character stops moving and the run-to-idle animation is played, there is a very awkward and ugly transition from the running to the run-to-idle animation.
I want to stop the running only after one animation cycle has completed so that the transition will look seamless. How do I achieve that? Or is there another better solution to make it look seamless?
Hey @IdrisKhan!
Having an animation to accomplish this goal is tough as you now have to worry about the predetermined time it takes for the animation to complete. Instead, would a blendspace between your idle and run animation not work? Check out this non-Epic affiliated explanation on how to set one up for that purpose:
I hope the above is the solution you need!
It does kind of work but playing an animation to transition between the states looks much better.
Hey @IdrisKhan,
You could possibly edit your transition rules and have all of you animations use root motion to ensure the correct movement. The caveat would be you will not be able to change the animations on the fly and they will be forced to complete, so if the player decides they want to keep moving after they started stopping, there is no way to simply start back up.
Here is more documentation on Transition Rules in UE: