Haptic-constraint modeling based on interactive metaballs