ExtrusionShape on Square path issue

Hi there,
i’m trying to make an ExtrusionShape (triangle) around a closed rectangular path: the idea is to make a painting frame. The mesh is created but i’ve problems on the corners as you can see from this PG: https://playground.babylonjs.com/#YKR9MS#9
Forthermore, to get that result i had to insert some more point on the path otherwise the resultant mesh was fully broken.

Any idea?
Thanks :wink:

This may help Making A Frame | Babylon.js Documentation

1 Like

Thank you, I’ve completely missed that part of docs.

Much better now https://playground.babylonjs.com/#YKR9MS#14 :slight_smile: