[004] Godot3D - Procedurally generated Hex Maps
Hello there 🐐 I am currently working on a small project and needed to experiment with different map sizes and shapes. I took this opportunity to learn more about how maps can be procedurally generated in 3D. In this blog post I will show you how to procedurally create maps in Godot using Grid Maps. I also felt like I struggled a bit with creating and optimizing the code and I took this as a perfect opportunity to give back to the community :) Get the latest version of the code here Prerequisites For this tutorial we will be using a 3D model of a hexagon that I've borrowed from Jmbiv's tutorial . Alternatively, you can also scour the web for other 3D models and resize them to 1mm height and ~1.74mm width . As long as you don't want to sell your game and don't want to build the 3D models yourself, I suggest also looking over MagHex Tiles for Gloomhaven which you can download and resize for your game. Setting up your scene In this part you can follow my steps...