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 xampozz · Jun 10, 2013 at 02:02 PM · animationtimemultiplesame

How do I play muiltiple animations?

I have an diamond model in my game and I have two animations, one animation that makes it look like it floats and one rotate animation that rotates 360 degrees they are played in loop but I can't make them both play at the same time

Comment
Add comment
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

1 Reply

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

Answer by tsmitro · Jun 10, 2013 at 02:59 PM

Put your diamond model underneath an empty GameObject. Place Animation components on both the empty parent and diamond objects with one animation on each, i.e. the diamond would float and the parent would rotate.

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 xampozz · Jun 10, 2013 at 07:19 PM 0
Share

It dosen't work, it plays only one animation.

avatar image tsmitro · Jun 10, 2013 at 07:49 PM 0
Share

Are you in Editor or Game mode? Only one animation will play at a time in the editor. Set both to play automatically and then hit play... I've done this several times and can confirm that this works.

avatar image xampozz · Jun 10, 2013 at 08:38 PM 0
Share

I can't put an animation on the gameobject because if I make an animation it will put the object at the same coordinates where I made the animation and the diamonds are money in my game it would mean that I would need to make one animation for every diamond

avatar image tsmitro · Jun 11, 2013 at 12:59 PM 0
Share

You need to explain yourself more clearly... but if I understand you correctly, you should create a prefab of the parent and diamond, both with the correct animations, and then instantiate that prefab when you need it.

avatar image xampozz · Jun 11, 2013 at 01:03 PM 0
Share

nvm, i'll just use one animation ins$$anonymous$$d.

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

15 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

Related Questions

Playing 2 animations at the same time 2 Answers

Animation blending. (two animations, same mesh, same time) 1 Answer

How do I set the time of an animation playing in the animator (Mechanum) 5 Answers

Why my animation clips are disabled? 0 Answers

[Mecanim] How to manualy set the time on a state by code? 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