How to do auto scroll

Hi I am creating a space shooter using the 2D side scoller template. I am trying to create an infinite auto scroll so the screen will keep scrolling forever, or until the player dies. So far I have used this tutorial on youtube (2. Unreal Engine 4 - Make a simple camera movement - YouTube). I followed it perfectly and mine does scroll but it eventually stops just like it does at the end of the video. If anyone knows how to do this or a better way to move the camera, the help will be much appreciated.

P.S. This is for a school project, but the teacher is not going to teach this in class since there are only a few days left before finals. Thus I would like to figure this out before Monday, but if you are reading this after Monday I would still like to know.

Hello!

Instead of a timeline you may use camera actor component… Watch this video!
Very well explained!

Thank you this is much easier. It is still not infinite, but I went to google, and for the camera moving 10000000000 ue4 units with a duration of 100000000 (the max distance but not max duration) will take a litter over 3 years to fully complete so it will work fine :slight_smile: If I didn’t mess anything up. Again, thank you.

1 Like

I think my pc will melt before I can finish your game!

Nice to help! And good luck for your project, make it awesome!

1 Like

can you share your project ?