I was throwing around a few game ideas with my friend when he came up with something interesting, yet stumping. The idea is that the player walks on a cube world (like Monty Python’s The Meaning of Life - not a sphere ). The only difference is that, instead of falling off when reaching the edge of the top surface, the character rotates so he can stand the next surface (e.g. back). Thus, if he continued walking, he would eventually return to the first surface (top-back-bottom-front-top). The idea is that we can, to an extent, have 6 different maps, yet interconnected on the same world.
Off hand, I don’t know how to program such a behavior. Does anyone have suggestions either how to go about this or something similar to learn from? I’d assume the only options are to have a) the character’s personal gravity change so he goes around the cube, or b) have the cube rotate around the character, while he remains at one point.