Added extrapolated coordinates to collision detection