As I mentioned earlier, the potential issue with this first solution is that you start to lose control over the origin of the animation. As shown in the image, the animation will always lag behind, and the more the character moves, the greater the distance becomes, making it harder to control properly.
What I usually do is look for an animation without root motion. In most animation libraries, these are typically labeled as IPC, which stands for In-Place Character.
Then, I move the character’s transform using a linear curve to avoid deceleration. I only blend the animations at the beginning and the end for when the character slows down or speeds up.
I hope I have been able to solve your problems. Good luck with your project


