Trying to map a 2d array into a disk

some funny results. You can see that the blocks get stretched in 2 ways when going up. The first is because i dont use an exponential function to correct the aspect ration height wise when going up.
And the second stretch is that the block gets wider one side than it gets another. This is a fundemental mathematical flaw i believe. But there is actually one case where the XZ aspect ratio stay consistent… When the world XZ size is the same, But this would result in a self intersecting world.

Also for the OG 2d version gravity beetwen planets has now been implemented, which means you can actually orbit around them now. i also had to figure out a bug on why gravity was reversed a little in space. turns out my on planet and off planet Y coordinate is reversed. this isnt fixed yet, but i should really fix it asap. (with many other issues that comes from moving in and out of planets)

2 Likes