.
.
.
What exactly does not work when you implement locomotion to your character?
The picture you posted doesn’t say anything.
.
.
.
try
if (currentSpeed > 0.1 )
animation.CrossFade(“walk”);
else
animation.CrossFade(“idle”);
if your character is moving faster than 0.1 m/s, play animation walk, else idle
.
.
.
No pain, no gain.