Is it possible to make my world wrap around so that when you go off one side, you come back on on the other side so it is round instead of flat?
I don't want to use scripts unless absolutely necessary as I don't know how to insert them.
thanks,
Ken
teeeeeeeeeeeeeeechnically yyyyyyyyyyyes? *shrugs*
you could use the basic wrap-around technique, and that would give you a toroid, .....BUT!
if you set it up so that the number of maps is proportional to the size of the last two "poles" maps, plus, some regionID magic to link the poles to the rest of the world, plus, some clever engineering so that not the entirety of the map's seam is available to traverse,..... then .... yes you might actually pull it off.
you have the answer right on that map itself.
not talking about that red line.
I'm talking about the map itself.
watch the square subdivisions..... the poles don't have them.
why? because if you take the meridian subdivisions, they all converge into a set of triangles at the pole.
now, take what *is* there, that big subdivision, and consider that as one map.
you'll have four sides for it, each side comprising 90º of longitude.
those 90º, can then be further subdivided (in that map) in intervals of 10º.
those sections of 10º, consider each one an individual map.
the issue is, how do you separate (either physically or logically) the poles into those 90º intervals?
you either have to create 9 different "doors" per side of the map, or set up an array of regionIDs, and a control system that picks those IDs and transfers the player according to which ID was triggered.
it's a little complicated to do, but it can be done.
if you think cuboids and not spheroids, it might be easier to understand.
Thanks everyone.
I figured it can be done but not by an old guy who has forgotten most of the math he has ever learned. I am completely lost now and will probably just stick with my 2D map limitations.
Thanks again.
Thanks. I was completely lost before.
Ken