So I have a pattern made out of cubes and I want to trace from each side to detect if there is another cube nearby, if true then i want to set the value in the map.
I have a Map variable with mesh as a Key and my struct as a value for each side.
As I understand if I use Map ADD node and I already have a same key with value it will change the value for that key ?
this is my code at the moment. After looping side check for current mesh I check to see if all sides are true, but some sides are marked wrong.
Am I overwriting the struct booleans somehow with each mesh ?