Hi Everyone!
Anyone try’s to create 3d struct and modify it via blueprint?
I realy can’t figure it out.
Let’s say I’ve got 3d struct with boolian, and I create default values for it.
Now, how can I modify only those singles boolian’s in this layers of structs?
Better use 1 Dimension and iterate as if it is 3D.
See:
Struct[width][height][depth]
would be
Struct(width*height)*depth]
To set a value:
Index = (y * width + x) + (z * height)
OR
struct(y * width + x) + (z * height)] = Value
Thank you very much for answer, I’l try that : )
PS: I figure out that I can use maps too. Like 3DVector:Bool.