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
0
Question by Verdinge · Jan 30, 2014 at 11:16 PM · animationanimatoranimationstransitionkey-frame animation

2D animations transitioning too quickly and looping before finishing

So I am trying to make a very simple 2D platformer, my Idle and Running animations are working perfectly fine. However I am having problems with my Jumping/Falling animations.

The way I have it set up is I have a bool for grounded and a float for vSpeed. In the Animator I make a transition from Any State when grounded = false, to a Blend Tree that contains my Jumping and Falling animations, Jumping when vSpeed > .01 and Falling when vSpeed < -.01.

This works, but the problem is that the transition from Any State to the Blend Tree (when grounded = false) seems to fire off constantly over and over again for the entire time my character is in the air. This makes the animations restart before they ever finish, making very a jerky animation.

I mostly took this from the tutorial at

http://unity3d.com/learn/tutorials/modules/beginner/2d/2d-controllers

However unlike the example in that tutorial, I am not using a spritesheet, my character is made of separate limbs that I animated in Unity. Also sometimes a warning saying Animator has not been initialized pops up.

Any help or advice would be greatly appreciated, thanks.

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 Stephghernandez · Mar 27, 2017 at 03:55 PM 0
Share

I am have a similar issue. i have ben working on this a few days now checked out some youtube videos and haven't found anything to fix this. I have a jump animations that has 9 sprites and i have it active on any state and when my character jumps he does part of the animation and when he hits the ground he does the rest of it and then loops to the first 2 sprites then shows his idle . i did uncheck transition to self but that did not seem to work. How do i get it to stop looping and get the full motion correctly. Thx in advance to anyone willing to help.

1 Reply

· Add your reply
  • Sort: 
avatar image
4

Answer by FlynnH · Sep 12, 2015 at 05:55 PM

Okay, there is an easy fix for this. In the animator window, click on the transition that is transitioning too fast. Now, on the inspector there should be the word "Settings" somewhere. Click on it and next look for the option "Can transition to self" and uncheck that.

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 Stephghernandez · Mar 24, 2017 at 04:37 PM 0
Share

i am having a similar problem, i have been working on this a few days now checked youtube and google and couldn't find a way to fix this. I have a jump animation that is 9 sprites long and it is active from anystate and when my character jumps he does part of the animation then finishes the rest of the animation after he hits the ground and also loops the to the first 2 sprites. How can i get the looping to stop and do the full animation before he hits the ground. i do have "can transition to self" uncheck. thx in advance to anyone wiling to help.

avatar image dbeezt · May 14, 2017 at 06:31 PM 0
Share

This was my problem, thank you so much. Logged into the forum for the first time just to upvote and give you reputation.

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

21 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

Related Questions

Animation Running Game 0 Answers

Create animation transitions via script. 0 Answers

How to deal with the Transitions If I have ten or more kinds of Animations in Unity Animator? 0 Answers

Animator animation transition twitch at the start 1 Answer

Invalid Layer Index? 1 Answer


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