Hey all,
I am a seasoned C++ developer but a newbie Unreal user. On my door implementation, I want to use independent curves for opening and closing the door. My strategy was to implement a second timeline triggered by the close event and send that output to the yaw input of the rotator. I believe that would do it, but I ran into a problem in my thinking.
Since these timelines are independent, the close needs to be able to start at whatever time matches the current open angle, which the more I think about it the more complex it seems to pull off. Timelines allow a start time input, but since the curves are independent the angle output by one timeline at a given time does not necessarily match the angle at the same time in the other.
In my head, the solution to the problem would be something like this:
- When one of the timelines is triggered, keep track of the output angle.
- When the opposing timeline is triggered, find the time at which that angle is met in its curve.
- Start the timeline from the time found in step 2.
Easy to say, but I cannot for the life of me find a way to do step 2. Is there a way to do it?