- Home /
Is it possible to manipulate a variable in the animation clip?
I want a value(int or float types are desirable) in the script (or it could be in animator if possible) to change over the animation. After a little bit of research, I found out that I can manipulate the variables in the script in the timeline, but I am not sure that I can use them as animation clips.
Right now, I have a 2d character models in 8 different angles, and all of them have the animations animated in their set perspective (such as running animation in 8 different angles, Idling in 8 angles and so on).
I am thinking to make a controller object, that the value that indicates the model's animation can be animated(manipulated) over time, so I can bring each animation of the right angle on runtime.
So, how can I make the value from a script or animator be changing over the animation clip?
Your answer
![](https://koobas.hobune.stream/wayback/20220612233819im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why does my transition freeze the second animation on it's first frame? 1 Answer
How to move Animation Clips into Animator Controller? 1 Answer
Animator Controller 2D RPG Best Practices 0 Answers
Problem with Animator.Play() 0 Answers
how to make an animation run continuously while you press a button on the keyboard 1 Answer