There's a couple of choices, none of them will work fast enough if you use the Java implementations. Popular choices are Chipmunk (http:// code.google.com/p/chipmunk-physics/) and Box2D (http:// www.box2d.org/). There's also a Java port of Box2D which is called JBox2D (http://www.jbox2d.org/) i really wouldn't recommend using it though. It horribly leaks memory due to small object instantiation when contact points are resolved. You best bet will be to write a JNI bridge for Box2D or Chipmunk. Both compile easily with the NDK provided you have a proper Android.mk file.
On 17 Mrz., 15:37, Jiri <jiriheitla...@googlemail.com> wrote: > Sorry to be off topic, but can somebody also point me to a 'decent' _2d_ > physics engine. > I seen a few, but i was wondering what the general consensus is about > the 'most' reliable one in terms of steady/continues development. > > Cheers, > > Jiri > > On 15/03/2010 15:25, Kevin S. wrote: > > > I've completed my first Android application. It as 3D demo with a > > physics engine. It uses the phone's accelerometer so that you can > > shake the world by moving the phone around. There are options to > > adjust things like gravity, friction, and elasticity. > > > The physics engine is a 100% Java port of the open source JigLib > > physics engine. > > > However, I only have a Motorola Droid, and I don't know if it will > > work on any other phone. The project is set to use Android 1.6. > > > Before I put it in the market, I was hoping to get some feedback > > from the developer community here. > > > If anybody is interested in 3D stuff or physics simulation, you can > > give the app a try. The link is on the follow page. There is a > > screen shot there so you can get an idea of what the app is. > > >http://www.pieintheskysoftware.com/menuitem-resources-pie-3d-physics-... > > > -Kevin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en