fix: less invasive solve_character_collision_impulses function (#652)

* fix: less invasive `solve_character_collision_impulses` function

Taking ownership of the elements is not necessary.

It also conveys the information that elements are only read.

* Add Changelog
This commit is contained in:
Thierry Berger
2024-06-23 23:01:55 +02:00
committed by GitHub
parent 3004a7d38d
commit 5308a28435
3 changed files with 8 additions and 4 deletions

View File

@@ -4,6 +4,10 @@
- Fix `NaN` values appearing in bodies translation and rotation after a simulation step with a delta time equal to 0 ([#660](https://github.com/dimforge/rapier/pull/660)).
### Modified
- `solve_character_collision_impulses` collisions parameter is now an iterator over references.
## v0.20.0 (9 June 2024)
This release introduces two new crates: