How to make camera rotate in a loop.

Hi I am currently having this problem: I want my camera to rotate perspective on a loop so I can add some delay and make a nice in game effect. The problem is when I attach the World Rotation node to the for loop I get only 1 iteration of rotation. Can anyone please help me solve this issue? Pic related.

Hi ,

I would not recommend using a For Loop to accomplish anything over a period of time. It happens all at once and it cannot use any latent functions (functions that happen over time) within the loop body.

I suggest using a Timeline instead. Here is an example of a camera that leans (like the game Dishonored):

It is a smooth movement thanks to the timeline driving the Lerps. Here is the documentation page for them as well:

https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Timelines/index.html

Let me know if that helps you or if you have any questions.

Cheers,