Hello Guest

A Java Based 3D Physics Engine?

  • 6 Replies
  • 31729 Views
A Java Based 3D Physics Engine?
« on: December 23, 2008, 20:56:45 »
Ok... this is the same problem that I run into every year, which makes me start considering the move over to C++ (which I always talk myself out of in the end). I just want to find a decent physics engine to start using so I don't have to make my own. I really like Slick's Phys2D port/package, which is great for 2D stuff, but doesn't help me with 3D movement and collision response. I looked up ODEJava, but their main site appears to be down, and last I heard their binaries aren't updated for the newer (Intel) Mac platforms (which is why I'd like a native Java library if possible).

Could someone please point me in the right direction?  :)
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

Re: A Java Based 3D Physics Engine?
« Reply #1 on: December 24, 2008, 03:30:47 »

Re: A Java Based 3D Physics Engine?
« Reply #2 on: December 24, 2008, 03:47:46 »
Bullseye! That's what I was looking for. Thanks!  ;D
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

Re: A Java Based 3D Physics Engine?
« Reply #3 on: January 01, 2009, 13:24:32 »
There are also:

https://jmephysics.dev.java.net
http://joode.sourceforge.net
http://www.jphysx.com

Does anyone have experience with these? Joode looks dead and it's been some times since there was activity at jphysx.

Re: A Java Based 3D Physics Engine?
« Reply #4 on: January 01, 2009, 17:02:55 »
I had looked at all of those already, and for the most part, they're all dead projects (or so it appears anyway from their releases). JBullet is the most active, and it's the only "pure java" solution I found.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

Re: A Java Based 3D Physics Engine?
« Reply #5 on: January 24, 2009, 00:42:30 »
So has anyone tried JBullet and can talk about the quality of it? I'm especially interested in how it integrates collision detection coming from my code and in how physically stable it is (whether or not things oscillate in certain circumstances, how it handles slowdowns etc).

Re: A Java Based 3D Physics Engine?
« Reply #6 on: July 14, 2009, 11:08:37 »
I have implemented a pure Java port of the ODE engine, it's available here www.ode4j.org.
The current beta is fairly stable (only two issues with the GL rendering in the demos), the engine itself has no known problems.
The main missing feature is a trimesh support, which I'm currently working on.