[quote="Lost my Keys":2ie37unb]Use physics behavior.[/quote:2ie37unb]
[quote="Bustercube":2ie37unb]lol, I knew someone would say that. I don't want to use the Physics behaivour because it interacts awkwerd with other objects, and I only want objects to fall down untill they hit another object and stack on it (Like Tetris). Sorry, Thanks for your reply though.[/quote:2ie37unb]
I was about to say the same thing as Lost my Keys. But now that I know what you need it for, it's obvious you can't use physics for that.
There are Tetris examples somewhere and the forum btw. Maybe do a google search.
Still I made this example
to kind of resemble your pseudo-code. Maybe it'll be helpful to you. Cheers.