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.
v0.24.0 (27 Jan. 2024)
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
IntegrationParameters::num_solver_iterations
.If recovering the old solver behavior is useful to you, call
IntegrationParameters::switch_to_standard_pgs_solver()
.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) by adding the
AdditionalSolverIterations
component to thesame entity as the rigid-body. This allows for higher-accuracy on subsets of the physics scene without affecting
performance of the other parts of the simulation.
Fix
Added
SpringJoint
andSpringJointBuilder
for simulating springs with customizable stiffness and damping coefficients.Modified
RapierContext::contacts_with
toRapierContext::contact_pairs_with
.RapierContext::intersections_with
toRapierContext::intersection_pairs_with
.