How to Use a Parent Objects Timeline Component Within Another Component

I’m currently trying to develop an actor component class that can handle simple animation of it’s parent actor. Unfortunately though, since Timelines are components themselves, I can’t use them within the component. My thought was that I should be able to create a timeline and register it to the parent actor, which does work. But the problem is, I can start and play animations using the timeline component reference, but I can’t get the resulting float values from the animations.

I could just leave all the timeline work to the event graph of the parent actor, but this is extremely impractical, and means leaving any and all animation up to the parent actor, and I want to be able to create components that can handle those simple animations entirely by themselves.

My end goal here is to have a bunch of components like FloatUpAndDown, or OpenAndClose, that I can assign to actors.

Any help is greatly appreciated, thanks!

use events to pass values ( alpha ).

1 Like