Hello.
I have array of vector2 points. It’s a shape my round map.
I’m create 2d polygon collider based on this array points. And now I want to create a border like image. How can I do that?
Hello.
I have array of vector2 points. It’s a shape my round map.
I’m create 2d polygon collider based on this array points. And now I want to create a border like image. How can I do that?
king of thieves probably just has these level layouts created by hand given the low number of them…
not sure what you mean by this; the dark green leafy patterned area outside the playable area? or something like a solid colour outline of the playable area?
I mean something like a solid colour outline of the playable area.
use the 2d point array length for “setVertexCount” and pass the array into the “setPositions” function. The point need to be in order though. You can only have one linerenderer on a given gameobject so I tend to put it on an empty child.