'GameObject doesn't reset its position after the animation is finished
So i made a animation for my sword in unity, the animation is basically the sword attack, the animation itself works perfectly, BUT when the animation finishes the sword just freezes on the position of the last frame in the animation, and before you ask; yes i do have Animator component on my sword, anyways, if i check the Loop Time option the animation just loops forever, if you have any solution's about the problem be sure to comment or answer about it, anyways, THANKS!
Solution 1:[1]
I would make the "loop" in the animaton window. Just copy&paste keys and make sure the first keyframe is the same as the last keyframe of your sword animation.
Solution 2:[2]
copy Transform properties of first keyframe and paste to the last keyframe of your sword animation, so that after one loop sword will come to its initial position
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Verast |
| Solution 2 | Prasad Pakhare |
