I’m using the timeline to change a scalar value which works (fading a textures opacity).
I have three inputs: From Alpha, To Alpha and Duration.
I created the timeline with one parameter which is increases from 0 to 1 over a default lenght of 5 sec.
Now the first problem, If I set the length of the timeline via “SetTimelineLength” the keyframe is not adjusted to the new length.
So when I set the duration to a shorter duration than 5 sec my keyframe is never reached!
Where can I change the relative position of my keyframe when chaning the length of the timeline?
The second problem I’ve encountered is that I am not able to reuse the timeline (node).
If I copy the node a new timeline is created. I don’t want to create a new timeline but using the preconfigured one.
My use case:
If “FromAlpha” > “ToAlpha” then play the Timeline from the end (reverse)
Else Play from start.
Simple as that. I can not find any solution to this. Maybe someone has an idea how to fix this?
Reusing the same timeline instance with another timeline Node.
In my case I can use the same timeline node with the same logic just going into the two Inlets.
Another case would be like playing it backwards from somewhere else and do somethign else on update or OnFinished.
But in this case I think you have to create a copy of the existing timeline.