Update to Rapier 0.18 & Release v0.12.0 #252
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.12.0 (2024-01-28)
The main highlight of this release is the implementation of a new non-linear constraints solver for better stability
and increased convergence rates. See #579 for additional information.
In order to adjust the number of iterations of the new solver, simply adjust
World.numSolverIterations
.If recovering the old solver behavior is useful to you, call
World.switchToStandardPgsSolver()
.It is now possible to specify some additional solver iteration for specific rigid-bodies (and everything interacting
with it directly or indirectly through contacts and joints):
RigidBodyDesc.additionalSolverIterations
andRigidBody.setAdditionalSolverIterations
. This allows for higher-accuracy on subsets of the physics scenewithout affecting performance of the other parts of the simulation.
Modified
CharacterController.translationApplied
,.translationRemaining
and thedesiredTranslation
method argument to
CharacterController.translationDeltaApplied
,.translationDeltaRemaining
and thedesiredTranslationDelta
to avoid confusion with the usage of thetranslation
world inRigidBody.translation()
.Added
DynamicRayCastVehicleController
to simulate vehicles based on ray-casting.JointData.generic
(3D only) to create a generic 6-dof joint and manually specify the locked axes.