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 /
avatar image
0
Question by Nedoon · Jun 20, 2012 at 02:18 PM · animationspeed

animation speed no work

idont know what is wrong with the animation this time when i write

 animation["R2i"].speed=2;

the animation get no work for me Despite useing the speed all time and it works with other animation in the same script when i make the speed of the animation the animation gets no work what should i do?

Comment
Add comment · Show 8
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 Berenger · Jun 20, 2012 at 02:31 PM 0
Share

Please be more accurate to describe what is happening. Does the animation play at the wrong speed, or doesn't it play at all ?

avatar image Nedoon · Jun 20, 2012 at 02:53 PM 0
Share

doesent play it at all

avatar image Bunny83 · Jun 20, 2012 at 03:53 PM 0
Share

So where do you actually play the animation? Does it work with a speed of 1.0? If not how is this even related to speed?

avatar image GutoThomas · Jun 20, 2012 at 04:06 PM 0
Share

are you calling animation.Play (); ?

avatar image Bunny83 · Jun 23, 2012 at 10:39 AM 1
Share

Are you sure the animation even works or is correct? Open the Animation window in Unity, select the object that has the animation attached and select the desired animation in the animation window. Click the play button in the animation window. The animation should play once. Does it work there? If not the animation is faulty / wrong imported or simply doesn't work.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by whydoidoit · Jun 20, 2012 at 05:12 PM

Per @Bunny83 Make sure that the animation is .enabled = true and that .weight > 0. You can do this by using Play() :)

Comment
Add comment · Show 5 · 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 Nedoon · Jun 20, 2012 at 08:17 PM 0
Share

yes all of thats is true and still no work

avatar image whydoidoit · Jun 20, 2012 at 08:21 PM 0
Share

And you are not playing another animation after? Or crossfading before?

avatar image Nedoon · Jun 20, 2012 at 09:01 PM 0
Share

after setting the speed i play animation!

avatar image whydoidoit · Jun 20, 2012 at 09:05 PM 0
Share

Are you playing a different animation - playing an animation stops other animations.

avatar image Nedoon · Jun 20, 2012 at 09:38 PM 0
Share

istop the other animation not what i want to play so if u still dont know the problem i can upload all of the animation script

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

7 People are following this question.

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

Related Questions

Animation Stop and Stay 1 Answer

How do I adjust the speed of an animation when preparing a CMU Motion Capture in Blender 2.68? 0 Answers

how can i change animation speed forever 2 Answers

How to change speed of animation in C# 1 Answer

Current speed of an object? 5 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