Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 michaelb212 · Jul 19, 2015 at 07:01 PM · animator controllertransition

How to set a transition form long animation clip

I'm working on unity Survival Shooter tutorial and i can see there is a very long delay until my walking animation starts playing when i move my character around.

Looking at my character animation controller, the transition between Idle state and walking state is defined with an IsWalking parameter, but whenever this parameter is set to true the walking animation still need to wait for the idle animation to end which takes about 12 seconds.

So it seems that even when the transition conditions are met, we still need to wait until the end of current animation clip, i suppose i could solve it by using only very short clips, but really i would like to know it i can set my transitions to happen instantly without waiting for current clip to end

alt text

deleteme.png (28.3 kB)
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

1 Reply

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

Answer by Cherno · Jul 19, 2015 at 07:30 PM

This is what the Exit Time controls. If a transition has an Exit Time set, then the animation will play as long as the Exit Time before actually transitioning to the next animation state. If you have a gun firing animation, you would want it to completely play till the end without transition into idle or running or whatever, no matter the circumstances, In that case, you would use an exit time. Non-looping clips are a commonly used with Exit Times. If you have a looping clip like idle, walking, running and such, you can disable the Exit Time or set it's value lower.

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 michaelb212 · Jul 20, 2015 at 06:12 AM 0
Share

That answer could have been really useful for me two days ago... Sadly with the current "wait for moderator" policy the question was stuck in a queue forever and i finally figured it out by myself

http://forum.unity3d.com/threads/how-to-set-transition-for-long-animation-clips.341906/

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Any time I add animations transitions multiple scripts stop functioning correctly, however on restarting Unity after saving, everything works correctly. 0 Answers

Force faster transition from empty state? 0 Answers

Problem with fire/walk transition 1 Answer

How do I prevent an animation trigger parameter from activating while the animation it triggered is playing? 0 Answers

Animator slow transitions and animations playing twice. How to set up transitions correctly? 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