Thanks for the help!
I think I understand what you mean here. The thing is, if the axis value of “Move Forward / Backward” is equal to 0, then the character wouldn’t move at all. So setting the max speed on the character wouldn’t really do anything since the character won’t be moving. On the other hand if there is input on the “Move Forward / Backward” then this could possibly work and the animation would be able to play without root motion and errors.
I plan to get some better root motion attack and dodge animations so I don’t have to worry so much about the root motion not looking too good. Thanks for the suggestion, I will try to tweak your idea here and see if I can get it to work.
If you know some animation sets on the marketplace that has good root motion animations, please let me know!