From 9b59d94bd993e16ee0449e06e5521d820763d8fd Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 21 Jan 2021 18:06:29 +0100 Subject: Fix incorrect default value for allowed_linear_error in docstring --- src/dynamics/integration_parameters.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dynamics') 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, -- cgit