From 2092ebda9c3969e63b2a5c66b171e7d378b5e0fb Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Sun, 6 Oct 2019 11:54:58 -0700 Subject: [DOC] Add missing physics_material_override descriptions --- doc/classes/RigidBody.xml | 4 ++++ doc/classes/RigidBody2D.xml | 2 ++ doc/classes/StaticBody.xml | 2 ++ doc/classes/StaticBody2D.xml | 2 ++ 4 files changed, 10 insertions(+) diff --git a/doc/classes/RigidBody.xml b/doc/classes/RigidBody.xml index 4378fc3ffe..624b576f4d 100644 --- a/doc/classes/RigidBody.xml +++ b/doc/classes/RigidBody.xml @@ -88,6 +88,7 @@ + Returns [code]true[/code] if the specified linear or rotational axis is locked. @@ -106,6 +107,7 @@ + Locks the specified linear or rotational axis. @@ -183,6 +185,8 @@ The body mode. See [enum Mode] for possible values. + The physics material override for the body. + If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one. If [code]true[/code], the body is sleeping and will not calculate forces until woken up by a collision or the [code]apply_impulse[/code] method. diff --git a/doc/classes/RigidBody2D.xml b/doc/classes/RigidBody2D.xml index 32a1634f77..c960ef5aee 100644 --- a/doc/classes/RigidBody2D.xml +++ b/doc/classes/RigidBody2D.xml @@ -169,6 +169,8 @@ The body's mode. See [enum Mode] for possible values. + The physics material override for the body. + If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one. If [code]true[/code], the body is sleeping and will not calculate forces until woken up by a collision or by using [method apply_impulse] or [method add_force]. diff --git a/doc/classes/StaticBody.xml b/doc/classes/StaticBody.xml index a9709d00df..f8840ddc14 100644 --- a/doc/classes/StaticBody.xml +++ b/doc/classes/StaticBody.xml @@ -28,6 +28,8 @@ Deprecated, use [member PhysicsMaterial.friction] instead via [member physics_material_override]. + The physics material override for the body. + If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one. diff --git a/doc/classes/StaticBody2D.xml b/doc/classes/StaticBody2D.xml index 4a7f71b667..34276ec535 100644 --- a/doc/classes/StaticBody2D.xml +++ b/doc/classes/StaticBody2D.xml @@ -27,6 +27,8 @@ Deprecated, use [member PhysicsMaterial.friction] instead via [member physics_material_override]. + The physics material override for the body. + If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one. -- cgit v1.2.3