Releases: stephengold/jolt-jni
3.2.0
- Added 3 classes for efficient/flexible contact listening:
ContactListenerList
EFilterMode
FilteredContactListener
- Generalized 2 body-lock multi constructors to solve issue #25.
- Added 4 methods to the
BodyInterface
class, for avoiding garbage:getAngularVelocity(int, Vec3)
getLinearVelocity(int, Vec3)
getPosition(int, RVec3)
getRotation(int, Quat)
- Added
getRefCount()
to theConstShape
interface. - Generalized 2
PhysicsSystem
setters to acceptnull
arguments. - 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:
ConstVehicleCollisionTester
ConstVehicleController
ConstWheel
- 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
ContactList
class. - Deleted the deprecated constructor of
StreamOutWrapper
. - Re-designed the API of
CharacterVsCharacterCollisionSimple
. - Renamed 2 public getters in the
PhysicsSystem
class:getOvbFilter()
getOvoFilter()
- Renamed the
EConstraintSpace.LocalToBodyCOM
enum value. - Overrode the
toRef()
method inVehicleConstraintSettings
. - Changed the return type of
PhysicsMaterialResult.get()
. - Finalized the
BcsResult
,ConstraintResult
, andSbcsResult
classes. - 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.DebugRenderer
invokesclose()
even if a cleaner is running.- Memory leak in the
SpringSettings
copy constructor. - Missing case in
VehicleControllerSettings.newSettings()
. Color.sGetDistinctColor()
doesn't produce distinctive colors.ShapeSettingsRef.getRtti()
crashes the JVM.
-
Added classes:
BodyLockMultiBase
BodyLockMultiRead
BodyLockMultiWrite
CustomDebugRendererSimple
DebugRendererSimple
Geometry
GeometryRef
Lod
VehicleConstraintSettingsRef
-
Added interfaces:
ConstBodyLockInterface
ConstBodyLockInterfaceLocking
ConstBodyLockInterfaceNoLock
ConstBroadPhaseQuery
ConstChbFace
ConstLod
ConstNarrowPhaseQuery
ConstPathConstraintPath
ConstSubShape
ConstWheelSettingsWv
-
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
UnsatisfiedLinkError
finalizing bulk add on Windows (issue #16)
- JVM crash while trying to create an empty
-
New features:
BodyIdArray
: add alength
field and a getter for it and 3 constructorsBodyInterface
: add 3 alternative signatures for methodsBroadPhase
: add 3 alternative signatures for methods- add the
ConstWheelSettingsTv
interface DistanceConstraintSettings
: add alternative signatures for 2 settersPhysicsSettings
: add accessors forspeculativeContactDistance
(PR #12)PhysicsSystem
: add chaining to theinit()
methodQuatArg
,RVec3Arg
andVec3Arg
: 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()
returnsnull
after garbage collectionPhysicsSystem.setBodyActivationListener()
doesn't accept a null argument
-
Added classes:
AaBoxCast
CastShapeBodyCollector
CollisionEstimationResult
CustomCastShapeBodyCollector
Impulse
OfStream
RayInvDirection
SimCollideBodyVsBody
SimShapeFilter
TriangleConvexSupport
-
Added interfaces:
ConstIndexedTriangle
ConstIndexedTriangleNoMaterial
ConstTriangle
ConstVertexList
-
Added many public methods and constructors to the libraries.
-
Made 4 customizable classes concrete.
-
Deprecated a
StreamOutWrapper
constructor. -
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 fromSoftBodySharedSettings
toSoftBodyCreationSettings
- Made the
DecoratedShape
andDecoratedShapeSettings
classes abstract. - Made various setters chainable.
- Moved the
-
Bugfixes:
StringStream
doesn't handle NULs- race conditions in
BodyInterface
- logic error in the
PhysicsMaterialSimple
copy constructor - passing an empty collection to the
ConvexHullShapeSettings
constructor crashes the JVM UnsatisfiedLinkError
is thrownSIGSEGV
ingetMassProperties()
when the shape isnull
PhysicsSystem
never releases step listeners- the
Parameters
copy constructor doesn't copyenableDebugOutput
-
Added classes:
AddConvexRadiusTab
BcsResult
ConstraintResult
EpaPenetrationDepth
GroupFilterResult
GroupFilterToIdMap
IdToGroupFilterMap
IdToMaterialMap
IdToShapeMap
IdToSharedSettingsMap
MaterialToIdMap
PathResult
PhysicsMaterialResult
PointConvexSupport
Result
RodBendTwist
RodStretchSphere
Rtti
SbcsResult
SettingsResult
ShapeToIdMap
SharedSettingsToIdMap
Temporaries
TransformedConvexObject
TransformedAaBox
TransformedSphere
-
Added interfaces:
ConstBoxShapeSettings
ConstEdge
ConstPhysicsSettings
ConstRodBendTwist
ConstRodStretchSphere
ConstSerializableObject
ConstSoftBodyManifold
ConstSphere
ConstSpringSettings
ConstVehicleAntiRollBar
ConstVehicleConstraintSettings
ConstVehicleControllerSettings
ConstVertex
ConstVolume
-
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
MapObj2Bp
class (useBroadPhaseLayerInterfaceTable
instead)
- 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:
BroadPhaseLayerInterfaceTable
ObjectLayerPairFilterTable
ObjectVsBroadPhaseLayerFilterTable
OrientedBox
-
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
usingint
primitives instead of objects. - Removed the
BodyId
,CharacterId
, andSubShapeId
classes. - Removed the
ConstBodyId
interface. - Moved the
sSetNextCharacterId()
method fromCharacterId
toJolt
. - Added chaining to 15 public setters in the
SoftBodyCreationSettings
class. - 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
JoltPhysicsObject
while creating aSoftBodyVertex
- unimplemented
-
Added 2 interfaces:
ConstCollisionGroup
ConstGroupFilter
-
Added many public methods to the libraries.