Manually animating an animation clip

Hello,

I was wondering if there was a way to manually animate an animation clip. For example,

//pseudo-code
animation.FrameLerp = Input.GetAxis("Vertical");

so if the animation had 100 frames, it would lerp (which has a value of 0.0 to 1.0) with the input.

Thanks in advance.

-S

Does AnimationState.normalizedTime do the trick?

@andeeeee
Thanks for the reply. That is exactly what I was looking for :slight_smile:
-S