I’ve made a physics demo using Xith3d, jME and OpenMind libraries. The real pearl here is Open Dynamics Engine (ODE). This engine is fantastic. Lot’s of features and it’s fast. The results that some people have done with it are truly amazing. Suites fine for making a game physics used in Max Payne (rigid human bodies) or for example an car game. You can define an ODE car by creating some cylinders (wheels) and boxes (chassis), then you create joints beetween chassis and wheels, after this you can start applying some rotational force into your wheels and see what happens
There exists lot’s of various parameters. Currently ODE java api is still a bit crude (made using swig), but it works very good. My xith3d demo source code is simple, but still great to see thanks to ODE.
I would like for Xith3d community to tell their opinion about physics and especially their interest to add ODE into Xith3d library section. ODE is easy to plug into Xith3d but perhaps Xith3d could consider also minor physics aspects as a part of it’s API?
The downside is that ODE is done with C++, so it’s another native library for every platform. However realisticly speaking, my opinion is that the goodsides are many times stronger. If there is an better alternative, please tell me. And the actual programmer still works with Java only, that’s what counts. One cannot truly ignore native code in any case, even Xith3d currently contains several native libraries for various platforms. They are all precompiled and hidden from the programmer, so in my opinion it’s a good tradeoff.
Be sure to check out http://q12.org/ode/
And for the quick and impatient, here’s two easy to install windows exe’s that shows you what ODE is capable of: http://jet.ro/dismount/
These demos use rigid bodies, ode is much more also.
