diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-06-23 16:23:39 +0200 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2022-07-03 13:55:41 +0200 |
| commit | 5063f3bb4fec2716f78a208552ee260f22428840 (patch) | |
| tree | b5665abb9c97469354c8c4dfd1a3fca21057ce16 /src/dynamics/integration_parameters.rs | |
| parent | cd0be8c076c69b88bb1848de72228225eeccb52d (diff) | |
| download | rapier-5063f3bb4fec2716f78a208552ee260f22428840.tar.gz rapier-5063f3bb4fec2716f78a208552ee260f22428840.tar.bz2 rapier-5063f3bb4fec2716f78a208552ee260f22428840.zip | |
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; |
