Interaction between a hammer and a wall