20
\$\begingroup\$

I'm looking for a physics engine to use in an XNA project (2D or 3D). Because it's for XNA, it needs to fulfill some requirements:

  1. Not necessarily free, but close to it is obviously preferred
  2. Managed code only (or it won't run on the 360)

For 3D I know of - BulletX (It works, and I'm using it now, but it's not active and could use more work)

For 2D I know of - Farseer

\$\endgroup\$
15
\$\begingroup\$

2D

  • Farseer is based on box2d but has lot of its own improvements and innovations.
  • Box2Dx & Box2D.Xna are both ports of box 2D
  • i think theres a port of chipmunk physics out there, but i cant find the link

3D

  • JigLib one of the earliest 3d physics engines for xna, been used quite a bit
  • Jitter Quite a new engine, but more per formant than JigLib
  • Henge3D A newer engine to the scene, impressive multi-threading
\$\endgroup\$
  • 1
    \$\begingroup\$ For anyone searching for a good 3D physics engine for XNA, it is worth trying BEPU physics. bepuphysics.codeplex.com It is open source, free for non-commercial use, very well documented and afaik it is the most recent and updated one (with latest release from December 2013 when writing this comment). \$\endgroup\$ – Prabu Arumugam Jan 7 '15 at 17:48
  • \$\begingroup\$ Bepuphysics is really good because it is written in pure C#. \$\endgroup\$ – zwcloud May 8 '18 at 7:04
6
\$\begingroup\$

I've used Farseer for XNA and it worked great. Comes with lots of example code as well so you can see it in action and has pretty good documentation.

\$\endgroup\$
  • 1
    \$\begingroup\$ Somehow managed to miss that in your list. \$\endgroup\$ – Casey Jul 15 '10 at 0:16
5
\$\begingroup\$

For a 3D physics library, BEPU physics has just recently became free for both commercial and non-commerical use.

\$\endgroup\$
  • \$\begingroup\$ +1, BEPU is excellent now that it's open source. \$\endgroup\$ – Olhovsky Jun 6 '11 at 1:32
2
\$\begingroup\$

Henge3D has been my library of choice. What sold me was the price (free) and the multi-threading capabilities.

\$\endgroup\$
1
\$\begingroup\$

Box2D.XNA is an XNA port of the popular Box2D physics engine.

\$\endgroup\$
1
\$\begingroup\$

There is a Box2D C# version called Box2DX. Since it's free and I know Box2D is good, it is probably worth it to check out.

\$\endgroup\$
0
\$\begingroup\$

Best of the best: http://www.xnawiki.com/index.php?title=Physics_Engine

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.