You should just need two for loops, One for each direction(X,Y).
Then you just spawn an actor with the location being a multiple of the cube width/height by one of the for loops.
HTH
You should just need two for loops, One for each direction(X,Y).
Then you just spawn an actor with the location being a multiple of the cube width/height by one of the for loops.
HTH