Buckyballs are a desktoy that consist of 216 tiny spherical magnets. You can makes all kinds of interesting shapes and structures out of them (do a Google search).
I want to model them in a physics simulation, but I'm not sure how to do it.
Right now, I'm thinking calculate the sum of the forces between each of the buckyball's poles and each of the other buckyballs' poles, and update its linear momentum. Then calculate the torque that each of those forces causes about the magnet's center, and use that to update angular momentum.
The problem I'm having is how to model the magnets touching. It's easy in real life to make a long chain or a hexagon. How should I model the magnets actually running into each other to mimic this behavior?