- Home /
Question by
Tope · Jun 17, 2012 at 12:17 PM ·
animationjavascriptoptimizationdelay
Animation Delay Problem
Hello!
Once I play an animation it does have a certain delay between it for exemple this is my code:
if(Input.GetAxis("Horizontal") == 1)
{
animation.Play("walk_right");
}
And for some reason It just plays the animtion waits for about 0,2 sec and playes again... It just doesnt keep playing the animation...
Any solutions for this?
Comment
Open your animation in Unity Window->Animation, select the object, and see if the animation starts from 0. It looks like your animation start moving after 0.2s.
I think thats the problem but I dont know how to work with that...
Answer by Tope · Jun 27, 2012 at 12:54 PM
Problem solve a few days ago... just changed the end frame to a few frames back...
Your answer
