I have made a simple gravity function and it works ok, but i am wanting it to be able to rotate the walls/floor etc and it remain within the boundaries..
At the moment it just goes through the walls, i have attached a fla file incase you don't understand what i'm going on about.