- Home /
My animation plays before triggered
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.
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
sorry if 3d you need to check the legacy box do you see a legacy check box anywhere?
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...
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
Your answer
Follow this Question
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