How to make a wrapping world?

How can I make a seamless wrapping world which is multiplayer compatible. Allowing players to walk in one direction and end back up where they started? I’ve thought of portals, but they wouldn’t allow path finding or physics through them.

It is very important I find a solution.

Thanks to anyone that can provide me with the information needed to accomplish this.

That sounds really complex…and dosnt sound like a great idea gameplay wise.
I am however super curious as to how this will be solved. If its even possible, wich i highly doubt.

I mean level streaming would be possible. But online?

Second that, I would like to know that as well. I’m working on a car game which would need the same feature. If anyone has an idea it would be really appreciated :slight_smile:

Manually resetting UWorld::OriginLocation and UWorld::RequestedOriginLocation after some point it is possible to make something like wrapping world. Did not test, but it’s unlikely that navigation will be affected (source usage search shows up only one suspicious place with something about particles).

“But online?” (C) Visceral3D

Didn’t touch any multiplayer features of engine, problems will rise already at UWorld::SetNewWorldOrigin which do not work for multiplayer. Maybe some consensus algorithm can be utilized for all groups of interacting characters to use the same origin location. I can share source with willing souls for testing and generalization purposes.
And if anyone would care for details of singleplayer implementation, I can write out a tutorial.

So, why couldn’t this work with streaming? It seems to me that it would work much like a seamless tiling texture. Move far enough in the world and the next chunk that loads is one that you have traversed 3 or so back.

yes please do share

Wow, that’s one dreading necroposting. Even if code is still alive somewhere on my disk, one chance in million it would work with current version of UE.