dimforge / rapier

2D and 3D physics engines focused on performance.
https://rapier.rs
Apache License 2.0
3.77k stars 235 forks source link

Release v0.18.0 #583

Closed sebcrozet closed 5 months ago

sebcrozet commented 5 months ago

v0.18.0 (24 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): RigidBodyBuilder::additional_solver_iterations and RigidBodyBuilder::set_additional_solver_iterations. This allows for higher-accuracy on subsets of the physics scene without affecting performance of the other parts of the simulation.

Fix

Added

Modified