I have a short walk animation for my character. how can I reuse it so the character walks indefinitely? if I set it to loop, it will restart the animation to the starting position, instead of updating the character’s transform.
You normally need to make your animation walk on the spot rather than actually moving the character - you then adjust the characters position to fit with the speed of the animation each Update (MechAnim in Unity 4 improves this a lot).
Alternatively you would need to detect when your animation cycle is complete and then update the transform.position of the character by the amount that it has moved - note that this is difficult due to the fact that the entire weight of the animation may not be 1 and so the character won’t have moved its feet as far as you think if you use crossfade etc.