From e82e9588fdd51afc25c119d2b60809602f71b745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 28 Jul 2020 11:50:39 +0200 Subject: [PATCH] doc: Sync classref with current source --- doc/classes/EditorInspector.xml | 4 +--- doc/classes/OS.xml | 2 +- doc/classes/RigidBody.xml | 16 ++++++++-------- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/doc/classes/EditorInspector.xml b/doc/classes/EditorInspector.xml index d853cc1f8a4..5ca4a65c130 100644 --- a/doc/classes/EditorInspector.xml +++ b/doc/classes/EditorInspector.xml @@ -20,9 +20,7 @@ - - If [code]true[/code], horizontal scrolling is enabled. An horizontal scroll bar will display at the bottom of the inspector. - + diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index 9e9360076b8..72c1c55dbf0 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -161,7 +161,7 @@ [codeblock] var arguments = {} for argument in OS.get_cmdline_args(): - if argument.find("=") > -1: + if argument.find("=") > -1: var key_value = argument.split("=") arguments[key_value[0].lstrip("--")] = key_value[1] [/codeblock] diff --git a/doc/classes/RigidBody.xml b/doc/classes/RigidBody.xml index 40f5ac08ab1..feb445ab36d 100644 --- a/doc/classes/RigidBody.xml +++ b/doc/classes/RigidBody.xml @@ -96,10 +96,17 @@ - Returns a list of the bodies colliding with this one. Requires [member contact_monitor] to be set to [code]true[/code] and [member contacts_reported] to be set high enough to detect all the collisions. + Returns a list of the bodies colliding with this one. Requires [member contact_monitor] to be set to [code]true[/code] and [member contacts_reported] to be set high enough to detect all the collisions. [b]Note:[/b] The result of this test is not immediate after moving objects. For performance, list of collisions is updated once per frame and before the physics step. Consider using signals instead. + + + + + Returns the inverse inertia tensor basis. This is used to calculate the angular acceleration resulting from a torque applied to the RigidBody. + + @@ -120,13 +127,6 @@ Sets an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. - - - - - Returns the inverse inertia tensor basis. This is used to calculate the angular acceleration resulting from a torque applied to the RigidBody. - -