ode4j icon indicating copy to clipboard operation
ode4j copied to clipboard

Comparing to other Java physics engines?

Open kephale opened this issue 12 years ago • 3 comments
trafficstars

More out of curiosity than anything else, has anyone compared ode4j to jBullet?

There is PAL (http://www.adrianboeing.com/pal/index.html) which has some comparisons of C/C++ engines. However, I've seen a number of folks using jBullet these days, and was just curious if there is any comparative information out there.

I recall that there were some arguments that ODE was better than Bullet for realistic physical simulation, which is what brought me to ode4j in the first place (for robots).

kephale avatar Nov 04 '13 20:11 kephale

I believe jBullet is dead: "Latest version: jbullet-20101010.zip (based on Bullet 2.72)" --> This indicates the latest update was in 2010. Bullet is now at 2.82.

I haven't compared ode4j to any other engine. I have compared it to ODE though, and it is not much slower (20-30%?).

Most people I hear from seem to use it for robotics or student courses. One exception is foolish football: https://github.com/fommil/foolish-football

tzaeschke avatar Nov 04 '13 21:11 tzaeschke

Ah, I should have remembered that. I guess that means you won ; )

FWIW, I'm working on getting ode4j going in Clojure. I've done some prototypes that do work with robots of arbitrary morphology, but am in the process of cleaning up my simulator to facilitate fast coding of simulations. Most such code is at the level of your drawstuff, with some other bells and whistles (nearest neighbor algos, etc.). That being said, drawstuff is still working better than my simulator at the moment.

kephale avatar Nov 04 '13 21:11 kephale

It's not really 'my' drawstuff (it's from ODE) and I'm not exactly proud of the code, abut I guess I know what you mean :-)

tzaeschke avatar Nov 04 '13 22:11 tzaeschke