Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delta_time being 0 results in incorrect simulation #659

Closed
Vrixyz opened this issue Jun 21, 2024 · 0 comments · Fixed by #660
Closed

delta_time being 0 results in incorrect simulation #659

Vrixyz opened this issue Jun 21, 2024 · 0 comments · Fixed by #660
Labels
2D The issue is specifically about the 2D version of Rapier. 3D The issue is specifically about the 3D version of Rapier. A-Dynamics C-Bug Something isn't working D-Medium P-High

Comments

@Vrixyz
Copy link
Contributor

Vrixyz commented Jun 21, 2024

context: dimforge/bevy_rapier#535

Reproduction steps

  • create a revolute joint in impulse joints
  • run a simulation step with 0 delta time
  • 💥 bodies now have NaN translation/rotation.
@Vrixyz Vrixyz added C-Bug Something isn't working 2D The issue is specifically about the 2D version of Rapier. 3D The issue is specifically about the 3D version of Rapier. A-Dynamics P-High D-Medium labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2D The issue is specifically about the 2D version of Rapier. 3D The issue is specifically about the 3D version of Rapier. A-Dynamics C-Bug Something isn't working D-Medium P-High
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant