Moving the die was done by calculating the point of rotation at the edge of a cube and then using that point in the RotateAround() method in Unity. The terrain is just randomly spawned cubes with the distance being multiplied by itself from a certain point away from the player, creating that sort of "scrolling effect" at the edges of the screen.