Releases: stephengold/jolt-jni
3.5.0
-
Bugfixes:
-
Additions:
- alternate signature for
ConstBody.getShape() ConstCharacterBase.getShape()ConstMotorSettingsinterfaceConstVehicleConstraint.getWheel()ConstVehicleConstraint.getWheelPositionAndRotation()
- alternate signature for
-
Generalized 4
MeshShapeSettingsconstructors. -
Handled more cases in
ObjectStreamIn.sReadObject(). -
Publicize the 2-argument constructor for
Body. -
Updated the Jolt-Physics source and assets to sg251012 (=1e38fc6).
-
Updated the Android NDK to r29.
3.4.0
With this release, Jolt JNI began creating an internal counted reference for/to every refcounted object.
Every RefTarget is now a co-owner of its assigned native object.
This prevents such assigned objects being unintentionally freed and greatly simplifies memory management.
-
Bugfixes:
- logic errors rendering
Support.getSupportBulk()unusable - memory leaks in the copy constructors of
CollideShapeSettingsandMotorSettings IndexedTriangleList.get()returns an object without ownership infoShape.getMaterial()returns a contained object
- logic errors rendering
-
Added methods:
BodyInterface.destroyBodies()and.removeBodies()(see PR #27)Jolt.countDeletes()Jolt.countNews()Jolt.installCerrTraceCallback()Jolt.installJavaTraceCallback()SoftBodyCreationSettings.getFacesDoubleSided()SoftBodyCreationSettings.setFacesDoubleSided()Vec3Arg.copyTo(FloatBuffer, int)
-
Updated the Jolt-Physics source and assets to v5.4.0 (=sg250927 / 036ea7b1)
3.3.0
- Bugfixes:
- 3 copy-paste errors in FilteredContactListener.cpp (issue #26)
FilteredContactListenercontact removals ignore body-filter settingsFilteredContactListenerignores its "enable removed" setting- heap corruption after invoking
ConvexShape.getSupportFunction() UnsatisfiedLinkErrorinCharacterBaseSettings
- Added the
ConstConvexShapeinterface. - Added the
getRefCount()method to theConstCharacterBaseinterface and theConstCharacterBaseSettingsinterface. - Added more
setLinearVelocity()signatures for physics characters.
3.2.0
- Added 3 classes for efficient/flexible contact listening:
ContactListenerListEFilterModeFilteredContactListener
- Generalized 2 body-lock multi constructors to solve issue #25.
- Added 4 methods to the
BodyInterfaceclass, for avoiding garbage:getAngularVelocity(int, Vec3)getLinearVelocity(int, Vec3)getPosition(int, RVec3)getRotation(int, Quat)
- Added
getRefCount()to theConstShapeinterface. - Generalized 2
PhysicsSystemsetters to acceptnullarguments. - Updated the Jolt-Physics sourcecode and assets to e594aad (=sg250918).
- Updated the OSHI library to v6.9.0 .
3.1.0
- Allow use of both
close()and a cleaner thread in a single app. - Added interfaces:
ConstVehicleCollisionTesterConstVehicleControllerConstWheel
- Added public constructors and methods to the libraries.
- Added run-time checks for the maximum number of jobs.
3.0.1
Bugfix: many CharacterRefC and CharacterVirtualRefC methods crash the JVM
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 .