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 Daniele · May 10, 2011 at 06:34 PM · animationanimationcurveloopingelevatorlift

Elevator to loop (Animation)

Been using Unity for about a year now and I've just touched upon actually implementing some basic animations.

I have made an animation for my elevator to go down and up but having problems to get it to loop.

Please check image: http://imageshack.us/photo/my-images/194/unityanimation.jpg/

Any suggestions on how I can get the loop working?

Much thanks.

Comment
Add comment · Show 2
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 Ejlersen · May 10, 2011 at 06:39 PM 0
Share

Have you tried to set the Wrap$$anonymous$$ode to loop?

Btw, nice background... I have the one from $$anonymous$$agicka, that makes fun of that particular game :)

avatar image Daniele · May 10, 2011 at 06:43 PM 0
Share

Warp$$anonymous$$ode... hmm will look into it. Coding related I gather? Aha the Vietnam DLC is awesome :}

Cheers man

1 Reply

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

Answer by FLASHDENMARK · May 10, 2011 at 06:49 PM

You could set the settings for the animation (without scripting) in the inspector. Just click the animation in the project panel and set the animation to wrapMode.Loop.

Or you can use scripting:

animation.wrapMode = WrapMode.Loop;

or something similar :)

Comment
Add comment · Show 1 · 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 Daniele · May 10, 2011 at 07:05 PM 0
Share

Thank you! Works :]

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

No one has followed this question yet.

Related Questions

Why is Unity Adding Extra Frames to Animation? 4 Answers

Can I make animations snap to a frame? 1 Answer

Problem using mecanim and the Animation process 0 Answers

EDITOR: How to Change Animation Curve Colors 0 Answers

"getcurve" from a gameobject 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