Can I procedurally modify 3d GridMap?

Godot Version

4.2.1

Question

Hi

I want to create spawn objects on these type of tiles. I guess a procedural approach can be taken without using a Godot object, but I am curious if it is possible to rely on a GridMap 3d object as a skeleton base/structure when spawning objects, given it might provide the coordinates etc already.

tilemap2d is all i know but here we go. doing a duck duck go search for “godot gridmap procedurally” i found this YouTube video.

also, just like tilemap2d, i see there is a method to set a cell within a gridmap3d.

1 Like