Animation Movement

Hello everyone!

I’ve done a character and rigged it and now it’s ready to be animated, but i have one question that needs an answer before i can animate it. How to animate the movement animations, should i animate the actual positioning of the character (e.g. walking from point A to point B) or should i animate everything on the origin and program the movement in unity?

I’m asking this because i think that the second one is the right, but i’m new to game development so i want to learn the right ways to do it.

Thanks in advance.

animate everything on the origin and program the movement in unity