Any kind of interpolation inside of a function?

Think of the UMG animation as of 0-1 value over time, an alpha. You cannot pipe in the data into the animation but you can read its current time and sample against an external curve. And animation speed is adjustable. Example:

Scroll down to the image with a curve - plenty of fine control. Quite usable with MDIs.

Here’s another auxiliary method:

This allows you to fire off events during UMG animations.

When you combine both, you actually have a timeline inside UMG that allows you to load external curves. Once set up (in a Data Table), it becomes quite versatile. The upfront work is considerable, as with everything moderately complex.

I can’t speak for iTween, looks crafty AF.

For another approach to reusable, modular interpolation for any actor (not umg):

Create an actor component that interpolates necessary values for its owner (you can’t have a timeline in an actor component but it will Tick), the component removes itself once it’s done. This way those effects only exist where they are needed. The only thing you need to do is to Add Component with the desired interpolation data.

Or, or, or wait for @JaredTherriault to blow our minds with his answer :wink:

1 Like