Path 2D addArcTo goes into the wrong direction

Hi there,

I’m just beginning to experiment a bit with Babylon.js , I am tryring to make some sort of cardgame and at the moment I am trying to generate a card & cardstack with rounded corners.
I was trying to use the path2D to build the mesh with some lines and arcs but I run into the issue that the corners I am trying to make “turn the wrong direction” and make a 270 degree arc and not a 90 degree one.
Are there any solutions to fix this or some way to control the direction of the arc drawing?

Your path might be wrong in 2d when you try to plot it, it should be more along those lines:


Welcome @JC1994 , Maybe it helps.