- Home /
Animation looping although Loop Time is unchecked?
Hey guys, I have added an animator to my door and set it so it rotates when the player presses a key. I have made the animation and unchecked its loop time, but when I test it the animation starts looping. Any idea how to fix it?
it always loops in animator. does it loop in the game? if not, that you don't have a problem. if yes, you might want to create a state that your state machine can switch to after the looping state is complete.
Yes, it loops in the game. I added a final state, but all it did was to delay the loop. I added a bool condition for the doors to open, could it be that the animation loops because the bool value is always correct after the conditions are met?
Look at your animator while the game is playing and notice if it enters the final state and goes back to animation state again. That can give you a clue on what is happening.
It is looping the animation state, it goes to the final state, then once the state ends it loops back to the default state.
So cut the transition from the final state to the default state to keep it in final. If that is what you want to happen.
Answer by jakovd · Dec 29, 2014 at 01:40 PM
I doubt that is the case. More probably you need to learn how this system works in dept. Make sure that you have a transition from current state with a desired parameter value to another state. Your state can not be changed if there is no adequate transition from it.
Your answer
Follow this Question
Related Questions
How to loop just a certain part of an animation? 1 Answer
How to stop an default animation from playing? 1 Answer
Mecanim loop pose 1 Answer
For easy simple games, you can do without using Mecanim and instead just do it through Scripts? 1 Answer
Using @ naming convention to import animations from multiple model files not working 0 Answers