Hello, I was wondering if anyone knows why my camera keep on flickering when trying to play a timeline that rotates the player while playing an animation. Everything works fine if I don’t play the timeline inside the animation montage, but the camera flickering starts when I use this anim noitfy.
I made an anim notify and called the event to start the timeline and put the anim notify about 15 frames into my animations and I get this flickering with the camera.
I can’t upload a video, since I’m still very new to Unreal Engine and Unreal Engine Forums so if you would like to see what I mean you can copy and paste the code and use an anim notify to trigger the timeline. I can play a single animation and it works, but if I play multiple animations in sequence (one right after another without overlapping another) then it gives me this flickering. Again, this flickering does not happen if I play the timeline inside the character blueprint.
I can’t tell you much about rotating the character during an animation, but I can point out some stuff that fixing might help.
When using a timeline, you need to fix the start and end values before going into the timeline. If you sample them during the TL, you’re fighting yourself, because the lerp doesn’t have two constant points to work with.
You sampling ( reading live ) them both ( A and B ).
Usually, rotating the player actor doesn’t cut it. You might need to use ‘set control rotation’.
You don’t need the test on the update pin of the TL. Just calculate the two points, and then go into the TL.
You said to fix the start and end values for the timeline, what do you mean by that?
I have a float curve inside the timeline and duration is 0.25 seconds. The start value is at 0.0 seconds, and has a value of 0.0 and the last key is at 0.25 sec and has a value of 1. The curve in linear.