I'm trying to create an effect similar to this one as seen in the game Two Point Hospital, where there is a line drawn around the top of the room.
https://files.catbox.moe/scwnoj.jpg
I understand that it's most likely made with quads. However ideally I'd have a little bit more flexibility than that because not all of my lines are at right angles. I have been using ArrayMesh
and Mesh.PRIMITIVE_LINES
but haven't been able to figure out how to adjust the thickness of the lines.
Starting to think increasing the thickness of the lines might not be possible.
I'm willing to switch to just drawing long thin quads, but I'm not sure how I would do that since my edges are all pretty jagged as you can see from this screenshot. Every vertices is offset by a certain amount. And even if I just drew straight lines I'd still need to deal with diagonal lines. Diagonal lines alone, when using quads would need additional calculations in order to not see the sharp corners of quads being out of place.
https://files.catbox.moe/wsjixm.png
What method should I use?
I might give up and use 1px thick lines.