Native Bullet on Android

It should be possible to create a native android bullet.



http://www.badlogicgames.com/wordpress/?p=248



I have run the example above and the performance is massive compared to jbullet.



Looking at the instructions around compiling the native bullet for Linux, OSX and Windows it is straight from the c source code. It should be possible to use Android NDK to do the job.



I think its a no go for bullet on Android without a native compilation.



I notice in http://jmonkeyengine.googlecode.com/svn/trunk/engine/src/bullet/com/jme3/bullet/PhysicsSpace.java



static {

// System.loadLibrary(“bulletjme”);

// initNativePhysics();

}



So its not clear on Android how the native library would be opened.

Yeah, its just an ARM binary (like i386 or ppc) and can be compiled on any platform in theory, this binary will also work on iPhone later. If you want to take a whack at the compilation, theres detailed info:

http://hub.jmonkeyengine.org/2011/04/27/jme3-native-bullet-physics-is-available-for-testing/