- Home /
Animation.CrossFade Lag
function Start () { }
function Update () {
if (Input.GetKey(KeyCode.W)) {
animation.CrossFade("walkForward");
}
if (Input.GetKey(KeyCode.D)) {
animation.CrossFade("walkRight");
}
}
The animations lag when crossfading together. How can that be fixed?
Comment
Best Answer
Answer by Paulius-Liekis · Oct 29, 2012 at 09:43 AM
What do you mean by lag?
CrossFace takes second parameter - fadeLength, which is defaulted to 0.3, maybe you should pass smaller value?
Your answer
Follow this Question
Related Questions
CrossFade won't crossfade animation, it just jumps to it. 0 Answers
How to use CrossFade with anim2 when anim1 is over? 1 Answer
Why is Animation Not Playing in Reverse? 2 Answers
Animation/CrossFade difficulties, Animation won't CrossFade 0 Answers
Can the animation editor create local rotational data? 3 Answers