Simplified collision detection.