fix regressions with sleeping behavior of kinematic bodies (#885)

* fix kinematic bodies ignoring the wake_up flag when setting velocities

* fix: don’t allow kinematic bodies to fall asleep unless they velocities are at zero exactly.

* feat: add debug example for kinematic bodies sleep

* chore: update changelog

* chore: typo
This commit is contained in:
Sébastien Crozet
2025-10-17 12:22:23 +02:00
committed by GitHub
parent ae1d479857
commit 27b11b9d61
5 changed files with 129 additions and 18 deletions

View File

@@ -1,3 +1,11 @@
## Unreleased
- Kinematic rigid-bodies will no longer fall asleep if they have a nonzero velocity, even if that velocity is very
small. The rationale is that, since that velocity is chosen by the user, they really want the platform to move even
if the speed is low.
- Fix bug where kinematic bodies would ignore the `wake_up` flag passed to `set_linear_velocity` and
`set_angular_velocity`.
## v0.30.0 (03 Oct. 2025)
- Update to parry 0.25 (which involves breaking changes in the `Voxels` API but improves its internal storage to support