[Tex/LaTex] Tikz: close path

tikz-pathtikz-pgf

I need to draw a closed shape using controls and then round the heads.
The problem is the starting point (The upper one) is not rounded as if the shape is not closed, and the cycle command is not working correctly.

Here is my code:

\documentclass[margin=10mm]{standalone}
\usepackage{tikz}
\begin{document}
    \begin{tikzpicture}

        \draw[rounded corners = 50pt, fill=red] (0,5) .. controls(0.2,1) .. (10,0) ..controls (0.2,-1) ..(0,-5).. controls(-0.2,-1)..(-10,0)..controls(-0.2,1)..(0,5);

    \end{tikzpicture}
\end{document}

enter image description here
I want to know why this is happening?

Best Answer

Not a real solution, but the following workaround may be acceptable. I used line width = 4pt, line join = round, red and cycle for the last point to give the effect of rounded corners = 50pt.

\documentclass[margin=10mm]{standalone}
\usepackage{tikz}
\begin{document}

\begin{tikzpicture}[line width=4pt, line join=round, red]
\draw [fill=red] (0,5) .. controls(0.2,1) .. (10,0) ..controls (0.2,-1) ..(0,-5).. controls(-0.2,-1)..(-10,0) .. controls(-0.2,1).. cycle;
\end{tikzpicture}

\end{document}

enter image description here