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 collision physics #1

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

Conversation

EricForgy
Copy link

No description provided.

@EricForgy
Copy link
Author

This looks good to me now. The collision physics is correct (conserves momentum and kinetic energy) and I took care of the weird cases where the marbles penetrate the walls and each other.

Hope you like it :)

@EricForgy
Copy link
Author

Oops. Some marbles are still getting stuck in the wall... not quite finished yet...

@EricForgy
Copy link
Author

Ok. This is good enough :)

@EricForgy
Copy link
Author

Hello? Bueller? :)

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.

1 participant