I am trying to make it so that specific parts of animation play faster than others. I understand that it has something to do with curves, but does anybody have a bit more info on that? I have been looking all around and haven’t found a solid tutorial on how to do it. Thanks. I am also playing the animation from anim montage.
I believe what you’re referring to with curves is for updating it for an individual animation that could play anywhere in an animation blueprint. What you need to do is create a curve in the animation that you want to alter. Something like this, created in the actual animation file editor.
Then anytime that animation is playing you can access the value of this curve by using a “Get Curve Value” node and plugging that into the Play Rate of the animation like this.
I should say that I would not do it, exactly as I’ve described here and instead set the curve value as a variable that can be bound to playrate, like this.
this allows you to bind the play rate value directly.
This maintains fast path because you aren’t accessing the blueprint call directly and keeps animation performance better.
Use Timeline function then you double click it. Create a float graph, then make a graph or import one. Graph time is your animation time and the other axis is your play rate 0-1 = slow-fast.
I also think adding a curve in the animation is better and later use it in animBP. To keep all your animation code in AnimBP.
Play Anim Montage is also nice when you have children or master weapon BP. I found its easier to ref cuz its inherited.