Circular airHockey

Hello everybody,

I'm a beginner with Box2d and I need a little help.

I need to transform an existing application of AirHockey to a 4 players circular AirHockey (where the field would be a circle).

I searched the web and found some information about how to make a circular container but it seemed a bit tricky so I would like to ask you guys for advice.

The first solution I found is to create numerous little objects around a circle and use them as a border. Is that the proper way to do this ?

The second solution I found (on this very forum) is "An edge-shape defined inside-out will solve this" but I have no idea of how to do that and I couldn't find any further information about that... Could someone explain me how it works or give me a quick example ? I would be very grateful of you.

Thank you for your time 🙂

Original thread: https://box2d.org/forum/viewtopic.php?t=8373