CollisionMixer calculates collisions. The boxes blinks red when colliding, and blue when leaving collision.
Code: