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

fix: [#2368] elastic collisions & degree of freedom #2369

Merged
merged 7 commits into from
Jun 27, 2022

Conversation

eonarheim
Copy link
Member

@eonarheim eonarheim commented Jun 27, 2022

===:clipboard: PR Checklist :clipboard:===

  • 📌 issue exists in github for these changes
  • 🔬 existing tests still pass
  • 🙈 code conforms to the style guide
  • 📐 new tests written and passing / old tests updated with new scenario(s)
  • 📄 changelog entry added (or not needed)

==================

Closes #2368

This PR corrects the math around elastic collisions in the realistic collision solver, elastic collisions now preserve energy as expected.

Additionally this PR also fixes an issue with the degrees of freedom limiter

bouncy

@github-actions github-actions bot added the bug This issue describes undesirable, incorrect, or unexpected behavior label Jun 27, 2022
@eonarheim eonarheim merged commit 8d45e35 into main Jun 27, 2022
@eonarheim eonarheim deleted the fix/2368-elastic-collisions-degree-of-freedom branch June 27, 2022 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes undesirable, incorrect, or unexpected behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Physics bounciness and degrees of freedom not working?
1 participant