collision detection between boxes.