Create colliders placed over polygon's perimeter

Hi there.

I have a 2D polygon like below shape and want to create a series of circle colliders over it’s perimeter(like red ones)
101601-untitled.png

I don’t have any idea about how to obtain exterior points of a shape sequentially.
maybe some information put me on the way.

Thanks for any help

The polygon collider 2D component has a points field which is an array of Vector2s that define the shape of the polygon. What you can do is loop through the array so you can get the points needed, process that info in whatever way you want and then add the circle colliders.

Here’s the API documentation: