Mecanim avatar moving on x,z

Hey all,

I’m using mecanim for my characters and I’m having issues with my walk and run cycles moving on the x,z axis.

The Animation starts like this:

[8279-screen+shot+2013-02-26+at+1.37.49+pm.png|8279]

After the animation runs a few times (or only once depending on anim settings), it moves from it’s original x,z and ends up like this.

[8280-screen+shot+2013-02-26+at+1.37.40+pm.png|8280]

I’ve messed around with the ‘Root Transform Position (XZ)’ setting and have tried with original and center of mass, baked and unbaked.

Does anyone have any idea why this would be happening/how I could possibly fix it?

Note: The artist working on the project noted that the maya export setting are the same on all their animations. Other animations on this rig work fine, it’s just these two.

you should try the Freeze rotation and freeze position component in attached rigidbody component of the character that might help u.
Freeze the Y rotation of your character