使用c#代码实现
https://github.com/bepu/bepuphysics2
由c++实现
https://github.com/erincatto/box2d
也有c#的版本,可供学习参考
https://github.com/Zonciu/Box2DSharp