dimforge / rapier

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

Fix rigid-body mass-properties being incorrect after disable/enable #439

Closed sebcrozet closed 1 year ago

sebcrozet commented 1 year ago

This fixes a bug causing rigid-bodies disabled and then re-enabled to behave like a kinematic body. The mass-properties were not recomputed properly.