Rigidbody bounciness #513
Unanswered
Ruttie2006
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was curious about this crate, so I wrote some code to see how well it works:
When I run this code, it seems to work, however the height the bouncing cube reaches slowly decreases, and after a while it simply no longer bounces.
I would expect that
Restitution::PERFECTLY_ELASTICwould mean there is no loss in height, and that the cube will bounce forever, am I doing something wrong?Crate(s) and features:
Beta Was this translation helpful? Give feedback.
All reactions