Shape calculations for horizontal collisions.