RepositoryC++USUnited States
stephengold

stephengold/Libbulletjme

JVM bindings for Bullet Physics and V-HACD

114stars
11forks
7issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: bullet-physics

#1 Repository of the month

1
TINIX TRENDING·Topic: vhacd

#1 Repository of the month

1
TINIX TRENDING·Topic: physics-3d

#1 Repository of the month

Libbulletjme Project logo

The Libbulletjme Project adds JNI "glue code" to portions of Bullet Physics and Khaled Mamou's V-HACD Library, enabling 3-D physics simulation from Java applications.

Complete source code (in C++ and Java) is provided under a mixed open-source license. Pre-built Maven artifacts are also provided.

The project supports the 3 major desktop operating systems on x86_64 architecture: Windows, Linux, and macOS. It also supports Linux on ARM (both armhf and aarch64), macOS on ARM, Windows on ARM, and 4 Android ABIs (armeabi-v7a, arm64-v8a, x86, and x86_64), making a total of 11 platforms.

For each desktop platform, 4 native libraries are provided:

  • a release build using single-precision arithmetic (the default library)
  • a release build using double-precision arithmetic
  • a debug build using single-precision arithmetic
  • a debug build using double-precision arithmetic

In addition, multithreaded native libraries are provided for 64-bit architectures running Windows or Linux.

Libbulletjme is used in the DynamX Physics Mod for Minecraft.

Libbulletjme's native libraries are used in Minie, which integrates Libbulletjme into the jMonkeyEngine game engine.

Contents of this document

How to add Libbulletjme to an existing project

How to add Libbulletjme to an existing project

Jump to the table of contents

Example applications

Jump to the table of contents

How to build Libbulletjme from source

How to build Libbulletjme from source

Jump to the table of contents

Lexicon of class/enum/struct names

Lexicon of class/enum/struct names

Jump to the table of contents

What's missing

What's missing

Jump to the table of contents

Jump to the table of contents

History

The evolution of this project is chronicled in its release log.

The C++ glue code for Bullet was originally copied from jme3-bullet-native, a library of jMonkeyEngine. The soft-body portion was added in 2018, and is based on the work of Jules (aka "dokthar").

The Java code is based partly jMonkeyEngine, partly on Riccardo's V-hacd-java-bindings, and partly on Minie. Minie is, in turn, based on jme3-bullet, another jMonkeyEngine library.

Jump to the table of contents

Acknowledgments

The Libbulletjme Project is derived from open-source software:

This project also made use of the following software tools:

I am grateful to Riccardo Balbo (aka "riccardo") for bringing V-HACD to my attention.

I am grateful to "dustContributor" for optimizing the cleaner thread.

I am grateful to "elmfrain" for authoring the GearJoint class.

I am grateful to GitHub, Sonatype, AppVeyor, Travis, MacStadium, JFrog, and Imgur for providing free hosting for this project and many other open-source projects.

Powered By MacStadium logo

I am grateful to ndebruyn for helping me test the Android native libraries.

I am grateful to Pavly Gerges for helping me test the armhf native library.

I am grateful to Yanis Boudiaf and "qwq" for many helpful suggestions.

I'm also grateful to my dear Holly, for keeping me sane.

If I've misattributed anything or left anyone out, please let me know, so I can correct the situation: sgold@sonic.net

Jump to the table of contents

Similar Projects

Discover other similar projects and AI models.

RepositoryJava
stephengold/Minie

Integrate Bullet Physics and V-HACD into jMonkeyEngine projects (code has New BSD license)

142
Nov 24, 2026
RepositoryC++
jrouwe/JoltPhysics

A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West and Death Stranding 2.

12.6k
Nov 28, 2026
RepositoryC++
RigsOfRods/rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator

1.3k
Dec 1, 2026
RepositoryC++
erayzesen/QuarkPhysics

A 2D Soft Body and Rigid Body Physics Engine.

300
Oct 17, 2025
RepositoryC++
NickHardeman/ofxBullet

Bullet Physics Wrapper for Openframeworks

156
Jun 16, 2023
RepositoryJava
stephengold/jolt-jni

JVM bindings for Jolt Physics and V-HACD

89
Nov 29, 2026
RepositoryJava
DynamXInc/DynamX

A Minecraft mod that aims to add realistic physics to Minecraft

63
May 25, 2026
RepositoryJavaScript
CyC2018/CS-Notes

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

186.6k
Nov 27, 2026
RepositoryJavaScript
Snailclimb/JavaGuide

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

159.7k
Nov 27, 2026