• 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 Ejpj123 · Jun 12, 2016 at 02:50 AM · animationstopplayingonlyone

Only one animation playing NON-STOP!!?

Hi, I am making a 2D game and I am having trouble with my player. For some reason when I run the game, It just keeps playing a jump animation for my character:

alt text

That is a picture of the end of the jump animation.

The animator is fine. The animations have the correct frames. Everyt$$anonymous$$ng seems right, except for when you actually play the game. Will someone please help me?

screen-shot-2016-06-11-at-94456-pm.png (311.8 kB)
Comment
Add comment · Show 15
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 Iplaydev1 · Jun 12, 2016 at 03:02 AM 0
Share
avatar image Ejpj123 Iplaydev1 · Jun 12, 2016 at 04:09 AM 0
Share
avatar image Mmmpies · Jun 12, 2016 at 07:25 AM 0
Share
avatar image Ejpj123 Mmmpies · Jun 12, 2016 at 04:22 PM 0
Share
screen-shot-2016-06-12-at-112438-am.png (494.6 kB)
avatar image Ejpj123 Mmmpies · Jun 13, 2016 at 09:34 PM 0
Share
avatar image Cherno Ejpj123 · Jun 13, 2016 at 10:49 PM 0
Share
Show more comments
Show more comments
avatar image Ejpj123 · Jun 14, 2016 at 12:50 AM 0
Share
avatar image Ejpj123 · Jun 18, 2016 at 01:48 AM 0
Share
screen-shot-2016-06-17-at-83630-pm.png (49.2 kB)

2 Replies

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

Answer by purnjay · Jun 15, 2016 at 06:23 AM

the problem is that you are keeping transition from any state to jumping so when the game will start it will first go to idle animation and then jump and then it will replay again and again .....

It would be good If you will also give a list of the parameters and where you have used them ..

but I t$$anonymous$$nk t$$anonymous$$s is the problem..

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 Ejpj123 · Jun 21, 2016 at 08:21 PM 0
Share
avatar image Cramshell Ejpj123 · May 16, 2022 at 10:06 AM 0
Share
avatar image
0

Answer by kittc522 · May 17, 2022 at 02:18 PM

Make sure on the animation you disable looping. Also, like purnjay said, it's possible you are transitioning between two animations over and over. In the Animator make sure if it's going from idle or any state to the jump that the there you don't have an arrow pointing from both objects to each other. It should look somet$$anonymous$$ng like t$$anonymous$$s but with jump in place of the run animation. Make sure there isn't an arrow pointing back at idle because that will create a loop of jumping back and forth between the two.alt text

Hopefully t$$anonymous$$s helps? I'm not exactly sure what the problem is but that would be my guess :)


screenshot-2022-05-17-91329-am.png (21.2 kB)
Comment
Add comment · Show 4 · 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 kittc522 · May 17, 2022 at 04:11 PM 0
Share
avatar image Cramshell kittc522 · May 17, 2022 at 11:20 PM 0
Share
avatar image Cramshell Cramshell · May 17, 2022 at 11:45 PM 0
Share
Show more comments

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

92 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

Related Questions

ANimation doesn't rewind on animation.Stop 3 Answers

Why can't I animate more than one part of object in Unity Animation? 1 Answer

Can the animation editor create local rotational data? 3 Answers

Adding animation clips via script 2 Answers

Detect if is playing an animation 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