Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
This question was closed May 29, 2014 at 01:50 AM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
3
Question by Detinator10 · May 29, 2014 at 01:14 AM · animationanimator

Why don't my animations immediately change in Unity 2D?

I am using Unity 2d to make a platformer game. However I am having trouble with my animations. In my Animator I am using transitions to move between animations. The problem is that my animations don't immediately change. The transition arrow glows and the glow moves to the end (kind of like the status bar on an animation) and my animations only change when the arrow is fully glowing. This causes trouble in my game because when you start to move it will show the "Idle" animation for a while before switching to the "running" animation. Why is this happening and what do I need to do to fix it? (I just started using Unity a couple of months ago so I'm a beginner)

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 CyberShot212 · Aug 14, 2016 at 10:21 PM 0
Share

I had the same problem but I fixed it by disabling 'Has Exit Time' when I clicked the transition lines

2 Replies

  • Sort: 
avatar image
6
Best Answer

Answer by meat5000 · May 29, 2014 at 01:23 AM

Click the transition arrow and adjust the Width of the two triangles that define the transition period, above the two blue bars that represent the two animations.

Exit Time will define when this period begins so sliding the two arrows left or right together will have no affect, only the distance between the two.

Comment
Add comment · Show 2 · 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 Detinator10 · May 29, 2014 at 01:44 AM 1
Share

Thank you so much! I didn't see those arrows before.

avatar image meat5000 ♦ · May 29, 2014 at 01:50 AM 1
Share

$$anonymous$$ost Welcome

avatar image
5

Answer by Clet_ · May 29, 2014 at 01:22 AM

Take a look into your transitions conditions. YOu probably have a condition saying ExitTime | 0.9 or something similar. Remove that condition and add one that say something like IsMoving | true.

You can then set that variable to true in your script whenever your character starts to move, and false when it stops

For idle->run transition, you shouldn't wait for the end of the idle animation.

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

Follow this Question

Answers Answers and Comments

24 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

Related Questions

2D Animation does not start 1 Answer

Make animator rules apply to multiple sprites without all sprites with animator being effected by conditions. 1 Answer

Zero-Out Animation Transition 1 Answer

Animator does not reset well when reactivating object 3 Answers

2D Animator Component makes my player stuck in space 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