Force of impact is given by the energy change divided by the distance over which the impact occurs. Thus, it is affected by these two quantities.