- Home /
Animator.Rewind?
How do I rewind a new animation? I can't just go and do:
gameObject.GetComponent(Animator).Rewind("SnakeHeaderForward_025", -1, 0);
rather than:
gameObject.GetComponent(Animator).Play("SnakeHeaderForward_025", -1, 0);
Do I have to make a seperate set of reverse animations or is there some quick way I can code it up like animation.Rewind?
Thanks.
Comment
I am unfamiliar with the Rewind function for animations. Does it just play it backwards? If so, create a new state in mecanim and change the speed to -1. trigger the transition from the 1 speed state to the -1 speed state and it will appear to "rewind"
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
2D Animation does not start 1 Answer
My player won't jump? 1 Answer