From c0ecbeaf6fed7f983be19534eb0008df006d6d5c Mon Sep 17 00:00:00 2001 From: skyace65 Date: Mon, 30 May 2022 13:39:44 -0400 Subject: [PATCH] Fix rigid body damp description (3.x) --- doc/classes/RigidBody.xml | 4 ++-- doc/classes/RigidBody2D.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/classes/RigidBody.xml b/doc/classes/RigidBody.xml index 08648cfa3f4..81d35fa2241 100644 --- a/doc/classes/RigidBody.xml +++ b/doc/classes/RigidBody.xml @@ -108,7 +108,7 @@ - Damps RigidBody's rotational forces. + Damps RigidBody's rotational forces. If this value is different from -1.0 it will be added to any linear damp derived from the world or areas. See [member ProjectSettings.physics/3d/default_angular_damp] for more details about damping. @@ -162,7 +162,7 @@ This is multiplied by the global 3D gravity setting found in [b]Project > Project Settings > Physics > 3d[/b] to produce RigidBody's gravity. For example, a value of 1 will be normal gravity, 2 will apply double gravity, and 0.5 will apply half gravity to this object. - The body's linear damp. Cannot be less than -1.0. If this value is different from -1.0, any linear damp derived from the world or areas will be overridden. + The body's linear damp. Cannot be less than -1.0. If this value is different from -1.0 it will be added to any linear damp derived from the world or areas. See [member ProjectSettings.physics/3d/default_linear_damp] for more details about damping. diff --git a/doc/classes/RigidBody2D.xml b/doc/classes/RigidBody2D.xml index 01c827bc751..f9b0e976904 100644 --- a/doc/classes/RigidBody2D.xml +++ b/doc/classes/RigidBody2D.xml @@ -94,7 +94,7 @@ - Damps the body's [member angular_velocity]. If [code]-1[/code], the body will use the [b]Default Angular Damp[/b] defined in [b]Project > Project Settings > Physics > 2d[/b]. + Damps the body's [member angular_velocity]. If [code]-1[/code], the body will use the [b]Default Angular Damp[/b] defined in [b]Project > Project Settings > Physics > 2d[/b]. If greater than [code]-1[/code] it will be added to the default project value. See [member ProjectSettings.physics/2d/default_angular_damp] for more details about damping. @@ -139,7 +139,7 @@ The body's moment of inertia. This is like mass, but for rotation: it determines how much torque it takes to rotate the body. The moment of inertia is usually computed automatically from the mass and the shapes, but this function allows you to set a custom value. Set 0 inertia to return to automatically computing it. - Damps the body's [member linear_velocity]. If [code]-1[/code], the body will use the [b]Default Linear Damp[/b] in [b]Project > Project Settings > Physics > 2d[/b]. + Damps the body's [member linear_velocity]. If [code]-1[/code], the body will use the [b]Default Linear Damp[/b] in [b]Project > Project Settings > Physics > 2d[/b]. If greater than [code]-1[/code] it will be added to the default project value. See [member ProjectSettings.physics/2d/default_linear_damp] for more details about damping.