Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Iskander · Jul 28, 2014 at 04:40 PM · animationmecanimfeet

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?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by Iskander · Jul 29, 2014 at 04:17 PM

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Desktopdaydreams · Feb 12, 2020 at 07:53 PM

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 :-)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by naishtech · Jun 30, 2021 at 10:49 AM

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Automatically adjusting the speed of a walking animation to avoid foot-sliding? 1 Answer

Mecanim Tutorial lacking animation? 1 Answer

How can I give variation to animation curve in Unity? (Raw mocap data) 0 Answers

Mecanim not updating script when it switches state? 2 Answers

Attack Animation through Javascript 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges