Detecting collisions between 2 cubes.