How to loop a level and while showing whats on the other side.

So I want to have a level that loops over if you get to the edge. I know with a bit of thinking I can just teleport my player back to the other end of the level but I also would like the player to see everything that’s happening on the other side too. I was thinking to use a camera or something and show the other side on a plane but it would be a flat projection and a crude fix. I’m not exactly sure how to do this, and what’s more I want raycasts and objects and all sorts to be able to end up on the other side too. This probably will utilise level streaming somehow but I don’t quite understand how that would work. If someone could help me out, or point me to a tutorial that addresses this issue, that would be great.

Note: https://answers.unrealengine.com/questions/748377/repeating-landscape-loop-level-streaming.html
I know about this tutorial but it isn’t quite what I want since I’m not sure how to show what’s on the other side, which is what the main focus of this question is.

(one more note): This project is in VR

Thanks!

If you did it with level streaming, you could actually have a duplicate of the level on the far side. When the player steps into it, you can drop the previously streamed level.

As per ClockworkOcean’s comment:

It’s a simplified version; you’ll have to modify it to meet your conditions.

Is your Game Instance, create 2 variables of type Level Streaming Dynamic. Name them Current Level and New Level.

Create one streaming level. In the persistent level, load the streaming level once OnBeginPlay. You’ll need to specify its location, but it will probably be 0,0,0 in an empty level.

In the streaming level, place triggers at entrance/exit (probably around corners not to see levels loading/unloading). The exit trigger will load a new instance, and the entrance trigger will destroy the previous one:

You’ll have to either calculate the location of the new level based on the existing level location, or simply store the previous location in the Game Instance as well.

That’s pretty much it. Of course you might need a lot more things depending on the complexity of your level, number of
exits/entrances, possible movable objects in the level, etc. But this allows only having two level instances at any given moment.

I want to loop the same level over and over, should I just duplicate it?

Oh and also it would be nice for the levels to always be equal, so if I edit one the other one changes too. Is this possible?

I was trying to do a proper answer but the website is glitching it so here it is nice and simple:

  1. Thanks for helping me
  2. My game is a multiplayer game how is this going to work
  3. It’s a large flat lobby
  4. I can’t do the cast thing because it needs an exec pin

Website is glitchy, so here it is nice and simple:

  1. Thanks for helping
  2. The game is multiplayer
  3. It is a huge open lane
  4. Cast to has an exec tag

Unreal isn’t letting me replyyyyy please help I can’t talk

Do the cast first, then the load level. You can pull the ‘As Main GI’ pin more than once…

  1. No problem.
  2. It complicates things. If two players keep running into the opposite directions, the two-level setup won’t work. You should probably look into portals. It is possible to make the image seem not flat. For instance, see this: Coding Adventure: Portals - YouTube
  3. You can right click the Cast node and convert it to pure, if you are absolutely sure it will work. If you only have one type of game instance, it will be fine. Otherwise just connect it before the Load Level node.