How to make loops in Maya with time editor (video)
July 6, 2019
Just a quick post about making looping animations in Maya Time Editor, mostly for myself. Suppose you have a walk mocap fbx and you want to make it loop so you can use it in UE4, here the way I found to make it. (I’m not an anim pro, if you know better please leave a comment)
Export the mesh and the anim from UE4 as fbx, that gives you 2 fbx files.
Import the mesh in maya, it will give you a group with the mesh and the skeleton. Unparent the root from the group.
Drag the animation fbx file into time editor (Windows>Animation Editors>Time Editor)
Find a part suitable for a loop and cut it. It should start and end on similar poses.
Copy the part and paste it twice
Overlap the last step (in the walking sense of the world) of the first copy with the first step of the 2nd copy.
Right-click on the second copy, “Match Relocators…” choose the foot which is on the floor as “matching object” (click on the bone then on the icon on the right of the field), matching clip: previous, matching time: inbetween. Click Match. The animations should blend correctly now.
Take a frame in the first anim where you want to start and the same frame in the second anim and cut. First and last frames will be exactly equals this way. I found that the frame which follow the overlapped part is slightly different that the first frame, so that’s why.
Select both anims, right click, bake to new clip.
Now you have the looping anim, move it to frame zero, then right click on it an “Create Relocator”, set relocator location and rotation to 0 (rotate X may be -90)
If for some reason the root moves somewhere at the end you can create an overrie layer and supress this error