Skip to content

Releases: stephengold/Libbulletjme

18.6.0

01 Dec 06:19
Compare
Choose a tag to compare
  • bugfix: PhysicsCharacter disregards ignore lists
  • Deprecated the PhysicsSpace.countCollisionListeners() method.
  • Optimized PhysicsSpace.onContactProcessed() and onContactStarted() to create event objects only when listeners are registered.
  • Added 3 math methods:
    • FastMath.atan()
    • MyMath.log2()
    • MyMath.maxInt()
  • Updated the Bullet source code to match SHA1 ID=6bb8d112 of the bullet3 project.
  • Build MacOSX_ARM64 natives for release using Xcode 14.2 .

18.5.2

24 Jul 23:25
Compare
Choose a tag to compare
  • Added a MyMath.clamp() method with int arguments.
  • Exposed the IndexBuffer wrap constructor to subclasses.
  • Modified MinkowskiSum.createShape() to avoid generating a warning message.

18.4.0

12 Jun 04:40
Compare
Choose a tag to compare
  • Added support for btMinkowskiSumShape via new class MinkowskiSum.
  • Added the protected nativeMargin() method to the CollisionShape class.
  • Changed the return type of the getBaseShape() method in the Convex2dShape class.

18.3.0

03 Jun 19:30
Compare
Choose a tag to compare
  • Bugfix: MyQuaternion.isRotationIdentity() accepts NaNs
  • New capability to dump physics objects for debug purposes, which entailed addition of the following classes/methods from Heart/Minie:
    • Describer
    • Dumper
    • DumpFlags
    • MyBuffer.frequency()
    • MyPco
    • MyQuaternion.describe()
    • MyString.axisName()
    • MyString.describe()
    • MyString.describeFraction()
    • MyString.describeMatrix()
    • MyVector3f.describe()
    • MyVector3f.describeDirection()
    • PhysicsDescriber
    • PhysicsDumper
  • Better 3-D rotations and transformations by adding 5 methods from Heart:
    • MyQuaternion.rotate()
    • MyQuaternion.rotateInverse()
    • MyMath.combine()
    • MyMath.transform()
    • MyMath.transformInverse()
  • Deprecated the corresponding math methods:
    • Quaternion.multLocal(Vector3f)
    • Quaternion.mult(Vector3f, Vector3f)
    • Transform.combineWithParent()
    • Transform.transformInverseVector()
    • Transform.transformVector()
  • Other methods added:
    • GImpactCollisionShape.countMeshTriangles()
    • Transform.setScale(Vector3f)
    • Validate.standardAngle()

18.2.1

18 May 06:02
Compare
Choose a tag to compare

18.1.0

15 Feb 18:41
Compare
Choose a tag to compare
  • Bugfix: ignored collision objects get garbage-collected prematurely
  • Added the isForceUpdateAllAabbs() and setForceUpdateAllAabbs() methods to the CollisionSpace class, to provide an (optional) optimization.
  • Added the listIgnoredPcos() and setIgnoreList(PhysicsCollisionObject[]) methods to the PhysicsCollisionObject class and deprecated the listIgnoredIds() and setIgnoreList(long[]) methods.
  • Deprecated the isFinite(Vec3d) method in the MyMath class.
  • Added various checks, including a few for the threading model.

18.0.0

11 Feb 22:27
Compare
Choose a tag to compare
  • Renamed 6 methods in the Java-native interface, to avoid underscores:
    • CollisionSpace.notifyCollisionGroupListeners_native()
    • CollisionSpace.rayTest_native()
    • CollisionSpace.sweepTest_native()
    • PhysicsGhostObject.addOverlappingObject_native()
    • PhysicsSpace.postTick_native()
    • PhysicsSpace.preTick_native()
  • Changed the Java API:
    • Added a static qualifier to the listPointIds() method in the PersistentManifolds class.
    • Privatized the getCollisionFlags() method in the PhysicsCollisionObject class.
  • Bugfix: jmeCollisionSpace::m_pEnv gets modified during callbacks
  • Publicized another constructor of the IndexedMesh class.

17.5.4

24 Jan 17:27
Compare
Choose a tag to compare
  • Build MacOSX_ARM64 natives for release using Xcode 12.3 .
  • Build MacOSX64 natives for release using Xcode 9.4.1 .

17.5.2

24 Jan 01:48
Compare
Choose a tag to compare

NOTE: something is wrong with the MacOS native libraries for this release. Use the 17.5.4 release instead.

  • Bugfix: PhysicsCollisionObject.findInstance() creates a weak global reference that's never deleted.
  • Bugfix: weak global references in PhysicsCollisionObject and MultiBody are never deleted.
  • Bugfix: assertion failure when toString() is invoked on an unassigned joint
  • Added 5 new methods:
    • CollisionSpace.jniEnvId()
    • CompoundCollisionShape.connectivityMatrix()
    • CompoundCollisionShape.countGroups()
    • NativeLibrary.jniEnvId()
    • New6Dof.getRotationMatrix()
  • Build Windows natives for release using Visual Studio 2022 .
  • Build 64-bit MacOSX natives for release using Xcode 14.2 .
  • Throw Java exceptions (instead of crashing the JVM with btAssert()) in the JNI glue code.
  • Improved handling of Java exceptions in the JNI glue code.

17.4.0

24 Dec 07:49
Compare
Choose a tag to compare
  • Bugfix: transforms not updated for the getCalculatedOriginA() and getCalculatedOriginB() methods in the New6Dof class
  • Bugfix: Quatd.isRotationIdentity() accepts NaNs
  • Bugfix: toString() fails for an unassigned PhysicsCollisionObject
  • Bugfix: PhysicsCollisionObject.copyPcoProperties() results in different collision flags
  • Added 4 new methods:
    • New6Dof.calculatedBasisA()
    • New6Dof.calculatedBasisB()
    • PhysicsCollisionObject.collisionFlags()
    • Vec3d.isFinite()
  • Reduced the likelihood of hash collisions in Matrix3d.
  • Made the result of PhysicsCollisionObject.toString() more concise.