Grid Creation Systems

Oh alright, so you essentially want to create a hex grid on a sphere. In that case, I think it’s going to be a lot more work than just arranging multiple circles. I had looked into it when first creating this system, but then realized it’d be too much work and I’d have to raise the price of the package by a lot just for that particular setup. Here are a couple of resources that helped me back then while researching on the topic:

https://www.redblobgames.com/x/1640-hexagon-tiling-of-sphere/

Also, IIRC I believe it’s impossible to create a perfect hex grid. You’ll need to also place a few pentagons (like the separate colors on a football) in there somewhere to make it work. If there are lots of hexes like in Rimworld, most people are not gonna notice it though. You can check out the developer mention it here (timestamped):

hello, i want to ask do we have a function to call the closest point in grid system?

There is no such function at the moment. Which type of grid configuration are we talking about here? As in basic square grid or hex, etc.

well im working on a space base building game i need a cuboid grid system for that, is it possible to get nearest location to snap the building on that point

Well, I’m flooded with work this week. I can look into how that can be implemented and let you know early next week.

1 Like