First of all, I’m quite new to modelling and animation but already watched tons of tutorials I modeled a Mechwarrior and animated it in Maya. My problem is, when I import the model in Unity, my animation shifts on X axis although there is no movement on X axis in Maya. I double checked in graph view.
On the other hand, if I don’t rotate(+15 , 0, -15) robot’s hip(root_joint) on y axis, problem disappears. That move gives more realistic walking to robot so I want to keep it. I checked root joint and control curve pivots so they are aligned perfectly on Y axis.
I also tried to enable “Root Transform Position (XZ) Bake into pose” but in that case robot doesn’t move forward.
I also uploaded a short video of the problematic animation.
I’m not sure if anybody experienced such problem before but I’ll be highly appreciated if we can come up with a solution.
If you look at the picture below in the red rectangle you can see the clip average Velocity, In your case you probably have something like (x, 0, z) but you would like ( 0, 0, z). You can counter animate your x offset by changing the value of Root Transform Rotation/Offset. Put some value and you should see your average velocity change, modify the value until X velocity is 0. If it still doesn’t work, sned me your file and I will take a look
.
you are the one my friend
Although the area you boxed doesnt exist in my unity (maybe needs pro or needs humanoid), problem disappeared when I give offset as exact rotation value in my maya animation.
I dont know if you watched the video in attachments but there is another problem in animation. even if I catch exact same position at the beginning and the end of the animation, still there is a little pause in the animation. I tried extending animation and matching loop manually but it doesnt work. Since it is not a humanoid rig, I cant use loop match lights. I hope you have a suggestion for this also.
Would be hard to know exactly what it is without the motion.
If you can’t figure out what is going on please log a bug with your motion so we can investigate if there is any issue in particular with your file.