Hi, I have two states, the animation I want to play, and any state.
When the animation should not play, there are 2 transitions controlled by one bool to go from NoState to animation, and from animation to NoState (to stop the animation)
When I want to stop and reset the animation I cannot seem to achieve this. Every time I try, the animation will get stuck on the last "frame" it was before disabling, and then when I start the animation, it resets itself.
Not sure if you understand. I want enable object, not animate it, then after 2 seconds start animating it from the start. While the 2 seconds are passing, the animation is stuck in the part that was previously left.
I tried enable/disable animator
enable/disable gameobject
animator.Play("Animation", -1, 0);
animator.SetBool("animate", false);
↧