I’m just starting in unity.I created a primitive box in maya and created a simple walk cycle(i.e. just moving forward).I can play the clip in preview in unity,however when i try to play the clip once,it moves forward as usual but if i play it again it goes back to the original position and then moves forward.The situation is like this(1.Play the clip 2.it moves 1 unit and stop. 3.Play the clip again 4.It returns to the original position and moves 1 unit and stop).The position of the box is not updated after each play i guess?So the question is,should i implement the transition of Z(moving forward) in maya or should i implement the transition of Z in unity script?
Translation in the model (i.e., in Maya) is called root motion, versus in-place animation.
If you’re using the Legacy animation system, use in-place animation and implement the translation in Unity, or use Mixamo’s Root Motion Controller to extract the root motion. Altered Reality’s SAGE makes it very easy to animate characters using in-place animations. There’s also a free version of SAGE.
If you’re using the newer Mecanim animation system, use root motion – that is, build the translation into the model in Maya.