Animation help


So i have a weapon that i need to animate however when i add rotation, It automatically adds that smooth effect to make it flow and that makes the animated piece go flying around…

Is there any possible wawy to jump animation? for example, instead of it smoothing x to y. It just gets the position of X and changes to Y without all the jumping about…?


You are probably looking for AnimationState.normalisedTime :

It’s a value between 0f and 1f where 0f is the start, 0.5f is the middle and 1f is the end of the animation.

Setting it to 1f then playing for instance, would simply have the animation be at it’s end-point.

Hope this helps you!