Hi guys. I’m trying to create a simple rts game on UE 4 and had stuck on implementation of building logic. I have terrain generated from heightmap and textured with four textures (grass, stone, sand, snow). It should be only possible to build objects on terrain textured with stone texture. As far as I understand, I need to have a grid which covers this generated terrain in order to mark areas I can place buildings (and to store which texture is in each grid tile). Something similar to this:
(this image is not from my project)
I can’t find the way to generate such grid for terrain. Maybe you can give me some ideas/clues about it?
Thanks in advance