feat: make the constraints regularization coefficients configurable with angular frequency instead of explicit ERP

This commit is contained in:
Sébastien Crozet
2024-05-25 11:05:00 +02:00
committed by Sébastien Crozet
parent 62379de9ec
commit fdd935dbf1
8 changed files with 131 additions and 63 deletions

View File

@@ -333,7 +333,8 @@ impl OneBodyConstraintBuilder {
}
}
constraint.cfm_factor = if is_fast_contact { 1.0 } else { cfm_factor };
constraint.cfm_factor = cfm_factor;
// constraint.cfm_factor = if is_fast_contact { 1.0 } else { cfm_factor };
}
}