Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by TheNoobieWaffle · Jul 11, 2017 at 05:07 AM · animationanimator controlleranimationclipanimate

Walking Animation Feet Shimmy When Key Unpress

How can I make the feet not spaz out out like that when I unpress a walk key? I want it nice and smooth, and this is far from! Thanks :D

https://youtu.be/4u4tVzhwTXg

Comment
Add comment · Show 1
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 TheNoobieWaffle · Jul 11, 2017 at 05:16 AM 0
Share

It seems that a good way of $$anonymous$$imizing this is to add the idle animation at the middle of the 2D blend tree, but I don't think that is a correct fix. Any suggestions anyone? :D

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by theANMATOR2b · Jul 11, 2017 at 03:19 PM

A couple things you can do to fix. First - turn on foot IK in the inspector. This will make the feet lock to the ground so they don't slide all over the place.

Second - if you want the transition to look better without editing or adding animation - you can turn on/off 'has exit time' on the transition. This will make the animation complete the cycle before exiting to the idle pose. But this will make the controller feel like there is lag in the animations (less responsive).

Third Option - If the player is going to be making short jerky movements like you are doing in the video (similar to stealth movement in games like metal gear or splinter cell) I would set up the animation controller differently. The changes I would make would be to have the animations pause when the directional key is released instead of the state machine transitioning back to idle pose. By having the animation pause until the player continues to push the directional key the animation will look smoother/more realistic. The movement setup of the games mentioned above usually transitioned the animation state back into a crouching/standing idle after several seconds of player inactive input. So the character is not always locked into the paused animation state.

Fourth Option - Provide additional animations for the state machine that are smaller and allow for nicer looking transitions out of a walk cycle that has only played half way through. This is an advanced set up and is not something I would recommend with out two experienced developers (one programmer, one animator) working on getting the controller set up correctly. By breaking down the animation cycles into smaller segments left foot walk, right foot walk, left foot transition to idle, right foot transition to idle, etc etc - a developer can have finer control of a characters transitions from one state to the other. The trade off is the animation cycles have to be created with this in mind, and the state machine will be a lot more complex - and more difficult to get set up correctly. But the results are better - once the state machine is perfect. This is a standard animation flow for fighting games, or 3rd person stealth games, or other games that require minute control of the character - with transitions set up to transition out of any cycle into any cycle - and still look clean and smooth.

Comment
Add comment · Show 1 · 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 TheNoobieWaffle · Jul 11, 2017 at 06:23 PM 0
Share

Thanks! :D

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

168 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Basic Animation Mecanim add animation to existing character 2 Answers

Character won't run straight 1 Answer

Addititive Animation Not Responding to Speed 1 Answer

How do you control where your animation starts? 1 Answer

problem with facial animation 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