Creating a grid on top of a terrain
Hi guys, I have an issue im really rattling my head over, im procedural generating a map by generating a height map like this random using a number of different variables and algorithms. Image 2 is the height map, once this is generated im using that to create a terrain and then baking a navmesh onto that terrain which moves characters around. I now want to create a grid system using the height map to place onto the terrain. But there seems to be an issue as no matter what i do the grid never fits as you can see from image 1. Does anyone know a way i can create a grid system to perfectly fit a height map and then translate that data too the terrain?
Image1: https://ibb.co/9Wn155J
Image2: https://ibb.co/tm0Smfd
Your answer
Follow this Question
Related Questions
How can I pre-generate a grid instead of generating it on each runtime? 1 Answer
Load heightmap automatically 0 Answers
Can you use the superformula in unity? 0 Answers
Grid territory system 0 Answers
Help CS101 error terrain proc generation 0 Answers