add ckeck of collisions with floor