Create Matter.Bodies.fromVertices with rounded vertices
tommar21 opened this issue · comments
How can I do that? I want to do something like:
const body = Matter.Bodies.fromVertices(200, 50, [ [{ x: -50, y: -25 }, { x: 50, y: -25 }, { x: 50, y: 25 }, { x: -50, y: 25 }] ], { chamfer: { radius: 10 } });
and configure every vertice radius