My animation is walking away

Hi Guys,

Relatively new to unity, massively new to the animation side of it. I’m at the stage where I’ve found a zombie model off the internet. Imported it into mixamo for a couple of their free animations and got it back into unity to have a play around with.

My problem is, when I’ve got the animation looping the actual model moves position when I want to be able to move it with a script instead. I’ve tried setting the moving object to have a 0,0,0 local position but that doesn’t stop it moving.

Any help is much appreciated

Thanks,
Sam

You require to design your animation to firm in place. From what you said, it is possible as simple as visiting to each frame where you have the root moving and set it to the origin. As soon this is done, your loop will not displace your character, granting you to setting movement speed and trajectory if you like and get a nice, clear visual result.

Ah thanks for the reply. I still don’t quite know how to do that? It’s good to know it can be done, but like I said I’m quite new with the animation system so any further help on this would be appreciated

Cheers