dimforge / rapier

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

Fix delta_time being 0 resulting in incorrect simulation #660

Closed Vrixyz closed 1 week ago

Vrixyz commented 1 week ago

Fixes #659.

Bug introduced by https://github.com/dimforge/rapier/pull/635.

Disclaimer: I am NOT confident about the correction, but I'm confident it's the correct place to fix :).

sebcrozet commented 1 week ago

Thanks!