Add checking for walls and falling.