-
-
Notifications
You must be signed in to change notification settings - Fork 253
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 delta_time being 0 resulting in incorrect simulation #660
Conversation
@@ -221,7 +221,11 @@ impl IntegrationParameters { | |||
pub fn joint_cfm_coeff(&self) -> Real { | |||
// Compute CFM assuming a critically damped spring multiplied by the damping ratio. | |||
// The logic is similar to `Self::cfm_factor`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should a similar correction be applied to cfm_factor
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, the correct function referred to is probably contact_cfm_factor
?
d613e64
to
e4e3135
Compare
90736e3
to
4dcd38e
Compare
Thanks! |
Fixes #659.
Bug introduced by #635.
Disclaimer: I am NOT confident about the correction, but I'm confident it's the correct place to fix :).