Add the ability to disable contacts between two rigid-bodies attached by joints

This commit is contained in:
Sébastien Crozet
2022-06-23 16:23:39 +02:00
parent cd0be8c076
commit 5063f3bb4f
12 changed files with 197 additions and 14 deletions

View File

@@ -134,7 +134,7 @@ impl IntegrationParameters {
1.0 / (1.0 + cfm_coeff)
}
/// The CFM (constranits force mixing) coefficient applied to all joints for constraints regularization
/// The CFM (constraints force mixing) coefficient applied to all joints for constraints regularization
pub fn joint_cfm_coeff(&self) -> Real {
// Compute CFM assuming a critically damped spring multiplied by the damping ratio.
let inv_erp_minus_one = 1.0 / self.joint_erp - 1.0;