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: restitution was acting like friction when 0 < restitution < friction #440

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

dragoncoder047
Copy link
Contributor

turn restitution to 0.5 in the restitution example, the bean will eventually stop moving, but friction is 0 so that is wrong

this fixes that

Copy link

pkg-pr-new bot commented Oct 8, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/kaplayjs/kaplay@440

commit: e533976

@lajbel lajbel merged commit 83ff414 into kaplayjs:master Oct 8, 2024
2 checks passed
@dragoncoder047 dragoncoder047 deleted the fix-resitiution-is-friction branch October 8, 2024 16:13
@dragoncoder047 dragoncoder047 restored the fix-resitiution-is-friction branch November 15, 2024 14:46
@dragoncoder047 dragoncoder047 deleted the fix-resitiution-is-friction branch November 15, 2024 14:53
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.

3 participants