- Home /
Question by
Elum224 · Nov 23, 2013 at 03:03 PM ·
procedural-generation
How do I generate my own poly for a Polygon Collider2d?
I am generating random object shapes at runtime and I want to create a Collider that fits the generated shape via script in c#. I have a list of Vertex and I want to use those to specify the points of the 2d shape. So far I can only see a way to make a regular poly with n sides.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613122547im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Spherical Gravity 1 Answer
Procedural Line Mesh Vert Compensation 0 Answers
Procedurally generated (Small)Universe 1 Answer
Starting multiplayer architecture. 0 Answers