Topic was automatically imported from the old Question2Answer platform.
Asked By
JayJay99
I want to procedurally generate a small 3d city, I already created the code for a simple road generation using GridMap and an adaptation of a maze algorithm, now I want to generate houses but I cant find out how to create a simple rectangle 3D shape in code.
Hope you don’t mind if I pick this old question back up.
We’re using GDscript2 now, in Godot4, but the code still works. I can see the cube in the game window, but it’s not in the view port, and, crucially, it’s not in the scene tree.