I was wondering how does bezier cureve drawing works. I know there is function bezierCurveTo(cpX, cpY, cpX2, cpY2, toX, toY) → {PIXI.Graphics}
and probably (cpX, cpY) is the start point, (cpX2, cpY2) is the middle control point and (toX, toY) is the ending point.
but I got something like:
Which is the polygon I drew just before the bezierCurveTo() call.
Should I create first polygon and add fill/border to it or what do I do?
Are there some official Phaser examples for drawing bezier curves?