diff options
| author | Emil Ernerfeldt <emil.ernerfeldt@gmail.com> | 2021-01-21 18:06:29 +0100 |
|---|---|---|
| committer | Emil Ernerfeldt <emil.ernerfeldt@gmail.com> | 2021-01-21 18:06:29 +0100 |
| commit | 9b59d94bd993e16ee0449e06e5521d820763d8fd (patch) | |
| tree | df81f43433585fd0d7db2915cc445638ca8d568f | |
| parent | c334ced31f7c9c7c23ff66929845c3b99d2032c8 (diff) | |
| download | rapier-9b59d94bd993e16ee0449e06e5521d820763d8fd.tar.gz rapier-9b59d94bd993e16ee0449e06e5521d820763d8fd.tar.bz2 rapier-9b59d94bd993e16ee0449e06e5521d820763d8fd.zip | |
Fix incorrect default value for allowed_linear_error in docstring
| -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 8edf439..629cb0d 100644 --- a/src/dynamics/integration_parameters.rs +++ b/src/dynamics/integration_parameters.rs @@ -29,7 +29,7 @@ pub struct IntegrationParameters { /// Contacts at points where the involved bodies have a relative /// velocity smaller than this threshold wont be affected by the restitution force (default: `1.0`). pub restitution_velocity_threshold: f32, - /// Amount of penetration the engine wont attempt to correct (default: `0.001m`). + /// Amount of penetration the engine wont attempt to correct (default: `0.005m`). pub allowed_linear_error: f32, /// The maximal distance separating two objects that will generate predictive contacts (default: `0.002`). pub prediction_distance: f32, |
