Releases: stephengold/jolt-jni
3.0.0
-
API changes:
- Deleted the
ContactListclass. - Deleted the deprecated constructor of
StreamOutWrapper. - Re-designed the API of
CharacterVsCharacterCollisionSimple. - Renamed 2 public getters in the
PhysicsSystemclass:getOvbFilter()getOvoFilter()
- Renamed the
EConstraintSpace.LocalToBodyCOMenum value. - Overrode the
toRef()method inVehicleConstraintSettings. - Changed the return type of
PhysicsMaterialResult.get(). - Finalized the
BcsResult,ConstraintResult, andSbcsResultclasses. - Changed return types from concrete classes to interfaces:
BcsResult.get()BodyLockRead.getBody()CompoundShape.getSubShape()CompoundShape.getSubShapes()ConvexHullBuilder.getFaces()ConvexHullShape.getPlanes()PathConstraint.getPath()PathConstraintSettings.getPath()PhysicsSystem.getBodyLockInterface()PhysicsSystem.getBodyLockInterfaceNoLock()PhysicsSystem.getBroadPhaseQuery()PhysicsSystem.getNarrowPhaseQuery()PhysicsSystem.getNarrowPhaseQueryNoLock()SbcsResult.get()SixDofConstraint.getLimitsSpringSettings()SoftBodyMotionProperties.getFace()SoftBodyMotionProperties.getFaces()
- Deleted the
-
Bugfixes:
Body.setAngularVelocity()sets the wrong velocity.DebugRendererinvokesclose()even if a cleaner is running.- Memory leak in the
SpringSettingscopy constructor. - Missing case in
VehicleControllerSettings.newSettings(). Color.sGetDistinctColor()doesn't produce distinctive colors.ShapeSettingsRef.getRtti()crashes the JVM.
-
Added classes:
BodyLockMultiBaseBodyLockMultiReadBodyLockMultiWriteCustomDebugRendererSimpleDebugRendererSimpleGeometryGeometryRefLodVehicleConstraintSettingsRef
-
Added interfaces:
ConstBodyLockInterfaceConstBodyLockInterfaceLockingConstBodyLockInterfaceNoLockConstBroadPhaseQueryConstChbFaceConstLodConstNarrowPhaseQueryConstPathConstraintPathConstSubShapeConstWheelSettingsWv
-
Added many public methods and constructors to the libraries.
-
Added run-time checks.
-
Updated the Jolt-Physics sourcecode and assets to 4366713 (sg250829)
2.2.0
-
Bugfixes:
- JVM crash while trying to create an empty
BodyIdArray UnsatisfiedLinkErrorfinalizing bulk add on Windows (issue #16)
- JVM crash while trying to create an empty
-
New features:
BodyIdArray: add alengthfield and a getter for it and 3 constructorsBodyInterface: add 3 alternative signatures for methodsBroadPhase: add 3 alternative signatures for methods- add the
ConstWheelSettingsTvinterface DistanceConstraintSettings: add alternative signatures for 2 settersPhysicsSettings: add accessors forspeculativeContactDistance(PR #12)PhysicsSystem: add chaining to theinit()methodQuatArg,RVec3ArgandVec3Arg: addcopyTo()methodsSoftBodyCreationSettings: add an alternate signature forsetPosition()SoftBodySharedSettings: addputRodIndices()methodsSupport: addgetConvexRadius()andgetSupport()VehicleConstraint: add 2 public getters
-
Build changes:
- disable C++ runtime type information (RTTI) and C++ exceptions
2.1.0
-
Bugfixes:
PhysicsSystem.getPhysicsSystem()returnsnullafter garbage collectionPhysicsSystem.setBodyActivationListener()doesn't accept a null argument
-
Added classes:
AaBoxCastCastShapeBodyCollectorCollisionEstimationResultCustomCastShapeBodyCollectorImpulseOfStreamRayInvDirectionSimCollideBodyVsBodySimShapeFilterTriangleConvexSupport
-
Added interfaces:
ConstIndexedTriangleConstIndexedTriangleNoMaterialConstTriangleConstVertexList
-
Added many public methods and constructors to the libraries.
-
Made 4 customizable classes concrete.
-
Deprecated a
StreamOutWrapperconstructor. -
Added runtime checks to prevent use of soft bodies in 2-body constraints.
-
Updated the Android NDK to r28c.
2.0.1
-
API changes:
- Moved the
getVertexRadius()andsetVertexRadius()methods fromSoftBodySharedSettingstoSoftBodyCreationSettings - Made the
DecoratedShapeandDecoratedShapeSettingsclasses abstract. - Made various setters chainable.
- Moved the
-
Bugfixes:
StringStreamdoesn't handle NULs- race conditions in
BodyInterface - logic error in the
PhysicsMaterialSimplecopy constructor - passing an empty collection to the
ConvexHullShapeSettingsconstructor crashes the JVM UnsatisfiedLinkErroris thrownSIGSEGVingetMassProperties()when the shape isnullPhysicsSystemnever releases step listeners- the
Parameterscopy constructor doesn't copyenableDebugOutput
-
Added classes:
AddConvexRadiusTabBcsResultConstraintResultEpaPenetrationDepthGroupFilterResultGroupFilterToIdMapIdToGroupFilterMapIdToMaterialMapIdToShapeMapIdToSharedSettingsMapMaterialToIdMapPathResultPhysicsMaterialResultPointConvexSupportResultRodBendTwistRodStretchSphereRttiSbcsResultSettingsResultShapeToIdMapSharedSettingsToIdMapTemporariesTransformedConvexObjectTransformedAaBoxTransformedSphere
-
Added interfaces:
ConstBoxShapeSettingsConstEdgeConstPhysicsSettingsConstRodBendTwistConstRodStretchSphereConstSerializableObjectConstSoftBodyManifoldConstSphereConstSpringSettingsConstVehicleAntiRollBarConstVehicleConstraintSettingsConstVehicleControllerSettingsConstVertexConstVolume
-
Added many public methods and constructors to the libraries.
-
Updated the Jolt source code and assets to 2405ff1 (sg250628).
-
Updated the OSHI library to v6.8.2 .
1.0.0
I believe Jolt JNI is stable enough for production use.
-
Add 5 public methods:
SoftBodyCreationSettings.setUserData()SoftBodyCreationSettings.getNumIterations()SoftBodyCreationSettings.getUserData()VertexAtrributes.setBendCompliance()VertexAtrributes.setLraMaxDistanceMultiplier()
-
Add chaining to 4 setters:
SpringSettings.setDamping()SpringSettings.setFrequency()SpringSettings.setMode()SpringSettings.setStiffness()
0.9.10
-
API change:
- remove the
MapObj2Bpclass (useBroadPhaseLayerInterfaceTableinstead)
- remove the
-
Bugfixes:
Shape.copyDebugTriangles()doesn't account for the center-of-mass- infinite recursion colliding triangle with triangle (JoltPhysics issue 1620)
-
Added 4 classes:
BroadPhaseLayerInterfaceTableObjectLayerPairFilterTableObjectVsBroadPhaseLayerFilterTableOrientedBox
-
Added some public methods to the libraries.
-
Declared an open module that exports all packages.
-
Updated the Jolt source code and assets to 2dcab94 (=sg250427).
-
Updated the OSHI library to v6.8.1 .
0.9.9
-
API changes:
- Began representing body IDs, character IDs, and sub-shape IDs
usingintprimitives instead of objects. - Removed the
BodyId,CharacterId, andSubShapeIdclasses. - Removed the
ConstBodyIdinterface. - Moved the
sSetNextCharacterId()method fromCharacterIdtoJolt. - Added chaining to 15 public setters in the
SoftBodyCreationSettingsclass. - Altered the return types and/or semantics of 14 other methods:
Body.getCollisionGroup()Body.setCollisionGroup()CollisionGroup.getGroupFilter()ConstBodyCreationSettings.getMassPropertiesOverride()ConstCharacterVirtual.getActiveContacts()ConstContact.getCharacterB()Skeleton.getJoint()Skeleton.getJoints()SkeletonRef.getJoint()SkeletonRef.getJoints()SoftBodyCreationSettings.getSettings()SoftBodyMotionProperties.getFace()SoftBodyMotionProperties.getFaces()SoftBodyMotionProperties.getSettings()
- Generalized 2 methods:
SoftBodyCreationSettings.setCollisionGroup()BodyCreationSettings.setCollisionGroup()
- Began representing body IDs, character IDs, and sub-shape IDs
-
Bugfixes:
- unimplemented
CharacterVirtual.getTransformedShape() - 2 logic errors in
CustomCharacterContactListener - assertion failure in
JoltPhysicsObjectwhile creating aSoftBodyVertex
- unimplemented
-
Added 2 interfaces:
ConstCollisionGroupConstGroupFilter
-
Added many public methods to the libraries.
0.9.8
-
API changes:
- Removed the
containsBody()method from thePhysicsSystemclass. - Deleted the public "user data" accessors from the
Shapeclass. - Redeclared the
ConvexHullBuilderconstructor. - Changed
VehicleConstraintto manage the step listener
like a contained object. - Added chaining to 41 public methods.
- Changed the return types of the
getHits()methods in the
AllHitCollideShapeCollectorandAllHitRayCastBodyCollectorclasses. - Corrected the return type of
SoftBodyCreationSettings.getSettings().
- Removed the
-
Bugfixes:
Shapethrows anUnsatisfiedLinkErrorgetHit()doesn't return a new object- silently starting extra cleaner threads
- logic error in MeshShapeSettings.cpp
- logic errors in
countDebugTriangles()andcopyDebugTriangles() - bugfix: unimplemented
putEdgeIndices()method
-
Added classes:
AllHitCastRayCollectorAllHitCastShapeCollectorAllHitCollidePointCollectorAllHitCollideShapeBodyCollectorAllHitTransformedShapeCollectorAnyHitCastRayCollectorAnyHitCastShapeCollectorAnyHitCollideShapeCollectorCharacterRefCCharacterVirtualRefCClosestHitCollideShapeCollectorCsrFaceFloat2GetTrianglesContextPhysicsMaterialRefCScaleHelpersShapeSettingsRefCSupportingFaceTransformedShapeTransformedShapeCollectorVertexArray
-
Added interfaces:
ConstFaceConstMotionPropertiesConstSoftBodyMotionPropertiesConstSoftBodyVertex
-
Implemented revision counting for collision shapes.
-
Added many public constructors and methods to the libraries.
-
Defined another desktop platform: Linux_LoongArch64
-
Updated the Jolt source code and assets to 0373ec0 (=v5.3.0).
-
Updated the jSnapLoader library to v1.1.1-stable .
-
Updated the OSHI library to v6.8.0 .
0.9.7
-
API changes:
- Renamed the
RVec3.addLocal()method toaddInPlace(). - Added a return value to the
Jolt.newFactory()method.
- Renamed the
-
Bugfixes:
- Debug builds suppress diagnostic output
product()methods always return an identity matrix
-
Added 2 desktop platforms: "Linux64_fma" and "Windows64_avx2"
-
Added the
ConstShapeSettingsinterface. -
Added many public constructors and methods to the libraries.
0.9.6
-
API changes:
- Renamed
CharacterVsCharacterCollisionSimple.getCharactersAsArray(). - Delete 5 trig functions from
Stdin favor of theirJoltreplacements.
- Renamed
-
Bugfixes:
ClassCastExceptionin "BoatTest.java" with flavor=Dp- native assertion failures at DMat44.h:115
- out-of-range error in
CharacterVsCharacterCollisionSimple
-
Switched to LLVM when compiling (but not cross-compiling) on Linux.
-
Added V-HACD v4.1.0 source code to the project.
-
Added classes, enums, and interfaces to the libraries:
CharacterIdConstSoftBodyContactSettingsConvexHullCustomSoftBodyContactListenerDecomposerFillModeInvBindParametersProgressListenerSkinnedSkinWeightSoftBodyContactListenerSoftBodyContactSettingsSoftBodyManifoldSoftBodyMotionPropertiesSoftBodyShapeSoftBodyValidateResultSoftBodyVertex
-
Added many public methods to the libraries.
-
Updated the Jolt source code and assets to c1bdc5a (=sg250217).