Colliding with bounds

Now I have managed to make the blocks collide with the floor. But their y values are not equal when the land so some blocks get an offset wich I cant get rid of (visible on picture). I think it’s because we are dealing with floats. I will try to round it to nearset 1 decimal.

I have not heard from Laban since the 23th. I hope hes OK and have grabbed the sounds.
My next task is to get the blocks to stay in the same position and after that I will check collision on objects that are not falling.

Hope you had a merry christmas.

About Anthon Fredriksson

2013 Programming