How to create a collider for an octagon?

24451-2014-03-29_0041.png

Any Help would be appreciated:)

I would personally opt for a cylinder collider since that offers a fairly good approximation with good performance.

If you really need a precise shape, then you could use multiple box colliders. Or alternatively the most expensive kind of collider, the mesh collider.