Releases: stephengold/Libbulletjme
Releases Β· stephengold/Libbulletjme
18.6.0
- bugfix:
PhysicsCharacter
disregards ignore lists - Deprecated the
PhysicsSpace.countCollisionListeners()
method. - Optimized
PhysicsSpace.onContactProcessed()
andonContactStarted()
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
- Added a
MyMath.clamp()
method withint
arguments. - Exposed the
IndexBuffer
wrap constructor to subclasses. - Modified
MinkowskiSum.createShape()
to avoid generating a warning message.
18.4.0
- Added support for
btMinkowskiSumShape
via new classMinkowskiSum
. - Added the protected
nativeMargin()
method to theCollisionShape
class. - Changed the return type of the
getBaseShape()
method in theConvex2dShape
class.
18.3.0
- 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
- Bugfix: the gravity of a rigid body is altered by a rebuild
- Integrated bulletphysics/bullet3#4413
- Integrated bulletphysics/bullet3#4462
- Allow zero-mass kinematic rigid bodies.
- Added the
applyAllExceptIgnoreListTo()
method to theRigidBodySnapshot
class.
18.1.0
- Bugfix: ignored collision objects get garbage-collected prematurely
- Added the
isForceUpdateAllAabbs()
andsetForceUpdateAllAabbs()
methods to theCollisionSpace
class, to provide an (optional) optimization. - Added the
listIgnoredPcos()
andsetIgnoreList(PhysicsCollisionObject[])
methods to thePhysicsCollisionObject
class and deprecated thelistIgnoredIds()
andsetIgnoreList(long[])
methods. - Deprecated the
isFinite(Vec3d)
method in theMyMath
class. - Added various checks, including a few for the threading model.
18.0.0
- 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 thelistPointIds()
method in thePersistentManifolds
class. - Privatized the
getCollisionFlags()
method in thePhysicsCollisionObject
class.
- Added a
- Bugfix:
jmeCollisionSpace::m_pEnv
gets modified during callbacks - Publicized another constructor of the
IndexedMesh
class.
17.5.4
- Build MacOSX_ARM64 natives for release using Xcode 12.3 .
- Build MacOSX64 natives for release using Xcode 9.4.1 .
17.5.2
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
andMultiBody
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
- Bugfix: transforms not updated for the
getCalculatedOriginA()
andgetCalculatedOriginB()
methods in theNew6Dof
class - Bugfix:
Quatd.isRotationIdentity()
accepts NaNs - Bugfix:
toString()
fails for an unassignedPhysicsCollisionObject
- 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.