diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-07-04 09:02:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-04 09:02:30 +0200 |
| commit | 9d9129192835afab572ba318f60df4e12da6551b (patch) | |
| tree | b5665abb9c97469354c8c4dfd1a3fca21057ce16 /src/dynamics/integration_parameters.rs | |
| parent | cd0be8c076c69b88bb1848de72228225eeccb52d (diff) | |
| parent | 5063f3bb4fec2716f78a208552ee260f22428840 (diff) | |
| download | rapier-9d9129192835afab572ba318f60df4e12da6551b.tar.gz rapier-9d9129192835afab572ba318f60df4e12da6551b.tar.bz2 rapier-9d9129192835afab572ba318f60df4e12da6551b.zip | |
Merge pull request #356 from dimforge/disable-joint-contacts
Add the ability to disable contacts between two rigid-bodies attached by joints
Diffstat (limited to 'src/dynamics/integration_parameters.rs')
| -rw-r--r-- | src/dynamics/integration_parameters.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamics/integration_parameters.rs b/src/dynamics/integration_parameters.rs index 6a86a2a..6d3acc5 100644 --- a/src/dynamics/integration_parameters.rs +++ b/src/dynamics/integration_parameters.rs @@ -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; |
