Collision detection finished.