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
3
Question by shethheta · May 31, 2013 at 07:29 AM · animationreverse

How To Play animation in Reverse?

i want to play animation in reverse please help me

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 shethheta · May 31, 2013 at 07:19 AM 0
Share

i Resolve this problem once i play the animation in reverse then i can not play that in normal terms.

so when you are playing the animation in reverse you have to play animation in forward differently

For Forward: GameoObjectName.animation["Animation"].speed= 1; GameoObjectName.animation.Play("Animation");

For Reverse:

GameoObjectName.animation["Animation"].speed = -1; GameoObjectName.animation["Animation"].time = cams.animation["Animation"].length; GameoObjectName.animation.Play("Animation");

this will work. Hope this help you

1 Reply

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

Answer by Unity beginner · Sep 27, 2013 at 12:01 PM

 hand.animation["bridge"].speed = -1;
 hand.animation.Play("bridge");
Comment
Add comment · Show 3 · 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 leons09 · Mar 13, 2014 at 05:58 AM 0
Share

Thank and it's work . (Y) :D

avatar image PhantomSarcasm · May 10, 2016 at 04:19 PM 0
Share

sorry but I'm a rookie, and place the script [animation] does not work in variables Animator and Animation ..... I can put like this: myanimation.speed = -1; but do not change the value of spped at any time but the script errors not present ......

myanimation variable:

Void start() { myanimation=gameobject.getcomponent(); }

avatar image meat5000 ♦ PhantomSarcasm · May 10, 2016 at 04:20 PM 0
Share

This answer is for the Legacy 'Animation' component.

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

17 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

Related Questions

animation.isPlaying always true and Animation stuck at time 0 0 Answers

How to make animations only play with script? 1 Answer

Animation position changes everytime I play the animation 1 Answer

Animation Problem 2 Answers

Unity not importing blender animations at all 7 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