im a coder myself, although amateur, and i just checked back in on starmade (havent touched it in a bit, busy busy busy) and saw the post on three dimensioal planet calculations...
what about using polar coordinates from a designated 'core' of the planet, where the planet is split along various planes in which it would use your polar coordinate to determine which direction should be 'down' and 'up'?
example - if you jumped off the edge of a world, instead of having you fall, it would just automatically 'snap' you back to the surface along the new orientation? it wouldnt be a perfect solution by a long shot, but i think it would be one of the simpler ones, and still fit in with the feel of the game
by 'snap' i mean altering the orientation, not immediately pulling you to the ground again. and for the very rare instance where you are EXACTLY on the line between two planes, you just retain your current orientation, until you actually step onto another plane.
what about using polar coordinates from a designated 'core' of the planet, where the planet is split along various planes in which it would use your polar coordinate to determine which direction should be 'down' and 'up'?
example - if you jumped off the edge of a world, instead of having you fall, it would just automatically 'snap' you back to the surface along the new orientation? it wouldnt be a perfect solution by a long shot, but i think it would be one of the simpler ones, and still fit in with the feel of the game
by 'snap' i mean altering the orientation, not immediately pulling you to the ground again. and for the very rare instance where you are EXACTLY on the line between two planes, you just retain your current orientation, until you actually step onto another plane.