Question by
christianmahler · Aug 13, 2020 at 12:59 PM ·
animationanimator
Animator jump to end of animation
Ok I have the following problem, maybe someone can help me out, because I have already put too much time into fixing this.
I want to jump to the end of an animation at the start of my scene, the code below works fine except in the very first frame it doesn't. :D If one pays attention the character is flickering because in the first frame the animation isn't at the correct normalizedTime. How can I avoid this?
void Start()
{
animator.SetBool("isSitting", true);
animator.Play("Sit Down", 0, 1);
animator.Update(0);
}
Comment
Your answer
Follow this Question
Related Questions
stickman animation 1 Answer
Problems with using the same Animator Controller on multiple objects. 0 Answers
Animation of Splash Screen Going In Infinity 0 Answers
Mecanim state that keeps last pose? 0 Answers
Variety of animation and meshes. 0 Answers