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 The_Thinker · Dec 10, 2014 at 12:56 AM · triggertriggering animation box collider

My animation plays before triggered

alt text

This is my script and editor. Do you see the problem as to why the animation plays before I can trigger it.

It also says this in the console

The AnimationClip 'open door' used by the Animation component 'Gate' must be marked as Legacy.

untitled2.jpg (116.4 kB)
untitled1.jpg (75.9 kB)
Comment
Add comment · Show 4
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 ger122 · Dec 10, 2014 at 01:14 AM 0
Share

you may have to mark this as "legacy" go to the debug tab (hidden its in upper right hand corner under those lines area - look for the tab "debug" there you will see debug" click on debug then where you see it says "animation type change the number form 2 to 1 . 1 is legacy Also go back to normal tab and look for the loop check box, make sure that box is unchecked if it is checked it will keep playing automatically

avatar image The_Thinker · Dec 10, 2014 at 01:21 AM 0
Share

i do not see (animation type)alt text

untitled3.jpg (142.0 kB)
avatar image ger122 · Dec 10, 2014 at 01:58 AM 0
Share

in the inspector right?

and is this a 2d or 3d ?

avatar image ger122 · Dec 10, 2014 at 01:59 AM 0
Share

sorry if 3d you need to check the legacy box do you see a legacy check box anywhere?

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by CJGames · Dec 10, 2014 at 02:54 AM

idk how to solve the "plays before triggered" problem, check if "Play Automatically" is not marked, and to get rid of the "Legacy" error just select the animation in the project window and go into Debug mode (click those 3 lines with an arrow pointing down next to the lock) then change Animation Type to 1.

Hope i did't answer 2 times cuz my first reply is not appearing...

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

Answer by The_Thinker · Dec 10, 2014 at 02:03 AM

Thank you ger122 and CJGames, I have found it and got the respose that I wanted

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

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

27 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

Related Questions

Animation in unity 2 Answers

How do I trigger my animation with a cube(collider) and a triggerplatform (triggerzone)? 1 Answer

Collide with object trigger - why animation only occurs on first encounter with trigger 1 Answer

Animation triggers are not firing 0 Answers

Troubles with "isTrigger" 2 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