Grid system in construction phase

saso_dev
Sat, 12 Jul 2025 21:18:20 +0000
Programming & Scripting

Hi! I need an advice on how to make grid system in construction phase (or any other system where i need a bunch of “Actors” or “Actor-like” objects proceduraly spawned).

Lets say i need a grid with cells like in minesweeper or civilization games. If i want to make the grid in BeginPlay it is easy:

1. i can create BP_Cell actor, that has specific mesh, collider, its own logic and data

2. than i create BP_CellManager, that has BP_Cell as a reference and can spawn a grid of cells when game is played

But now, it would be much easier to design level if cells are already spawned in editor without playing. How would i do that?
I guess instanced static mesh isnt the solution here, because each cell needs its own data, maybe i want to have physics with mesh, colliders etc.
Getting reference to other actor from a blueprint (that is created from c++ script) isnt possible before playing game? (i am guessing not)

I prefer c++ solutions if possible.

Please help. I am Unity dev, trying to learn Unreal :).
Thank you

6 posts - 2 participants