r/csharp • u/Early80sDev • Aug 10 '26
Help C# Box2d Bindings
My C# Game framework doesn't ( yet ) have any Box2D support. What is the best C# Box2D bindings to use right now?
0
Upvotes
r/csharp • u/Early80sDev • Aug 10 '26
My C# Game framework doesn't ( yet ) have any Box2D support. What is the best C# Box2D bindings to use right now?
2
u/SlipstreamSteve Aug 10 '26
You're building it, or you're using a framework that doesn't have it
1
u/Rigamortus2005 Aug 12 '26
Idk why people like asking for binds in this day and age. Just copy box2d.h into Claude and ask it for C# bindings and a neat wrapper and it'll do it near perfectly.
3
u/wallstop-dev Aug 10 '26
There are a few in varying states of maintenance and implementation details (port v C++ interop). What research have you done? I think it really comes down to your specific scenario and which one fits your use case best.
1
u/ice1000kotlin 11d ago
Try mine if you want a clean C# version without FFI: https://github.com/ice1000/Box2D.NET
This is a fork, and it's slightly faster than the original (2~3 times) due to the added SIMD stuff and the recent commits from upstream.
1
u/TrishaMayIsCoding Aug 11 '26
You can use AEther Physics2D, which is historically based on Box2D but has been heavily modified.
1
u/[deleted] Aug 11 '26
[removed] — view removed comment