Shape-based volumetric collision detection