Character's feet are shifting

Hi!

I have imported a character with a custom rig, and set it to humanoid rig inside of unity. I imported some animations and everything seems to work except the feet are gliding slightly but noticably across the floor (in x and z but also y).

The character is not really a moving game character, he just has to stand perfectly on 0,0,0 and do some animations.
Right now it is as if his hips (or center of gravity?) are locked, and the feet are moving underneath.
I want to change this around and have the feet planted on the grid and have the hips sway instead, like I have inside Maya.

I have played around with the Root Transform settings of the animation but no combination seems to help.

Does anyone know what I have to do here?
And what do these Root Transform settings actually do?

It seems I’ve been able to find a solution myself. Btw I am using imported Mixamo animations if that’s to anyone’s interest.

These are the settings I ended up with:

  • Root transform rotation set to body orientation and bake to pose
  • Root transform position Y set to original, no bake
  • Root transform position XZ set to center of mass, no bake

Then I turned on Apply Root Motion on my character.
This combination helpt to reduce the gliding of the feet, but it was still present.

Then finally I turned off the compression on the imported animations, and that did the trick. I suppose some valuable transform information was getting clamped in the compression process or something, I don’t know.

Just to let you know…

Root transform rotation set to body orientation and bake to pose
Root transform position Y set to original, no bake
Root transform position XZ set to center of mass, no bake
Then I turned on Apply Root Motion on my character. This combination helpt to reduce the gliding of the feet, but it was still present.
Then finally I turned off the compression on the imported animations, and that did the trick.

that solved the problem we were having. I had tried the various baking of body orientation / rotation but never thought of the animation compression! Thank you so much :slight_smile:

I also found that in addition to the other steps above, I had to select Animation Properties → Motion → Root Motion Node → “Root Transform”

Edit: this also seemed to break root motion. I also tried the “hips” setting and that seemd to put the character through the floor.