I'm looking to create a 2d polygon collider using the vectors of a theoretically endless list of instantiated gameobjects, during runtime.
I would just run a for loop through the members of the list and add their vectors as points, but haven't come across a method by w$$anonymous$$ch to add vertices that doesn't involve generating an entirely new collider each time the method is called.
I'm fairly new to C#, so forgive me if there's somet$$anonymous$$ng glaring in the documentation that I've missed.
Thank you for your time.
↧