summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-10-20 22:44:47 +0200
committerGitHub <noreply@github.com>2017-10-20 22:44:47 +0200
commit81cd52dfb432cdcb209969f4ab33cc14fd37d700 (patch)
treeccd3c90597b5c977447e74315824128c3b8a58e0 /doc/classes
parenta3a85670a338388aa93c40e49d60cbad834cba11 (diff)
parent1870c2fdcff7c62b7b63e44773af39975965c388 (diff)
Merge pull request #12242 from AntiSC2/master
Fix small language mistakes in RigidBody2D documentation [ci skip]
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/RigidBody2D.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/RigidBody2D.xml b/doc/classes/RigidBody2D.xml
index a4faa697de..f2584de5aa 100644
--- a/doc/classes/RigidBody2D.xml
+++ b/doc/classes/RigidBody2D.xml
@@ -113,7 +113,7 @@
<return type="float">
</return>
<description>
- Return the body's moment of inertia. This is usually automatically computed from the mass and the shapes. Note that this doesn't seem to work in a [code]_ready[/code] function: it apparently has not been auto-computed yet.
+ Returns the body's moment of inertia. Automatically computed from associated [class CollisionShape2D]s' mass during physic frames. Inertia is not computed the same frame in which the node was added in. Therefore inertia is not computed during the [code]_ready[/code] function.
</description>
</method>
<method name="get_linear_damp" qualifiers="const">
@@ -127,7 +127,7 @@
<return type="Vector2">
</return>
<description>
- Return the body linear velocity. This changes by physics granularity. See [method set_linear_velocity].
+ Returns the body's linear velocity. This changes when a physics frame has passed, not during a normal update. See [method set_linear_velocity].
</description>
</method>
<method name="get_mass" qualifiers="const">