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 convex bouncyness #1

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

forestrf
Copy link

@forestrf forestrf commented Feb 3, 2019

Fix for this bug explained on the forum: https://forum.bepuentertainment.com/viewtopic.php?f=9&t=2507&start=15#p14064
There are several things here aside from this fix:

  • Up-to-date with the main repository
  • Upgraded .NET Framework version (Sorry for this)
  • Fix for Fix64 to work when using CHECK_MATH

The problem lies with the precision lost when doing 1/x and then multiplying it by y instead of dividing directly y/x, probably to optimize given that division is slower.

woodywu pushed a commit to woodywu/bepuphysics1int that referenced this pull request Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants