Rigidbody bounciness #513
Unanswered
Ruttie2006
asked this question in
Q&A
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
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_ELASTIC
would 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