Skip to content

Releases: stephengold/kk-physics

KK Physics 0.3.1

21 Jan 02:19

Choose a tag to compare

KK Physics 0.3.1 Pre-release
Pre-release

Pre-release for limited testing.

  • Updated the jolt-jni library to v0.9.5.
  • Added the PlaneCollisionShape class.
  • Made contact response optional for rigid bodies.
  • Added another MeshCollisionShape constructor.
  • Moved the PhysicsSystem from PhysicsSpace to CollisionSpace.
  • Added package javadoc.
  • Updated JMonkeyEngine to v3.8.0-alpha2.

KK Physics v0.3.0

03 Aug 19:01

Choose a tag to compare

KK Physics v0.3.0 Pre-release
Pre-release

Pre-release for limited testing.

  • Deferred the creation of jolt-jni bodies until the PhysicsSystem is stepped.
  • Added a cleaner thread for Jolt physics objects.
  • Implemented kinematic bodies, CollisionShapeFactory, RigidBodyControl, collision margins, and custom debug materials.
  • Added 3 collision shapes:
    • CompoundCollisionShape
    • HeightfieldCollisionShape
    • SimplexCollisionShape
  • Implemented alternative orientations of capsule and cylinder shapes.
  • Implemented debug visualization for bounding boxes.
  • Replaced RigidBodySnapshot with BodyCreationSettings.
  • Updated the jolt-jni library to v0.5.0, picking up support for Linux-on-ARM platforms.

KK Physics v0.2.0

05 Jul 22:16

Choose a tag to compare

KK Physics v0.2.0 Pre-release
Pre-release

This was another proof-of-concept pre-release.

  • Switched from the jolt-java JVM bindings to jolt-jni. This expanded support
    to include MacOS and Windows platforms and eliminated the dependencies on
    JDK 19 preview features.
  • Added 2 collision shapes: HullCollisionShape and MeshCollisionShape.
  • Added BulletAppState accessors to configure debug visualization.
  • Increased the maximum number of bodies in a PhysicsSpace to 15,000.
  • Added PhysicsSpace configuration for broadphase optimization frequency.
  • Did some preliminary performance tuning.

KK Physics v0.1.0

23 Jun 15:26

Choose a tag to compare

KK Physics v0.1.0 Pre-release
Pre-release

This is a proof-of-concept pre-release based on jolt-java v0.1.0

Features:

  • static and dynamic rigid bodies with friction and restitution
  • 4 collision shapes (box, Y-axis capsule, Y-axis cylinder, and sphere)
  • BulletAppState and RigidBodyControl
  • debug visualization
  • PhysicsDumper and PhysicsDescriber
  • mimics the APIs of Minie and jme3-jbullet

Known issues:

  • requires Java 19 preview features
  • only works on Linux
  • getLinearVelocity() often returns a wrong value