Uh, can you tell me what I am doing wrong here?
I am destroying a few cubes, the objects avoce should fall on the position of the deleted cubes and the indices with no objects should be empty but somehow that doesnt work.
(and somehow they stack on eachother or fall below the grid...)
function "falling": looks for the cubes above that and moves it down.
x/y - position of
z0: frame of the cube where it looks for the adjacent cubes
z1: uid of cube
z2: destroyed 1 / undestroyed 0
It should be quite clear if you download the capx