summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-12-09 13:45:12 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-12-09 13:45:12 +0100
commit3acbabca1ef5cbca75b8b8dbf830ea5cbd2d3b5e (patch)
treebfbc4cea5d87b3506eec4ab7bfa99985a040cefa
parent2ebc783e9c7c257bb122f8a19e2426193a481aa4 (diff)
Document the KinematicBody axis lock methods
-rw-r--r--doc/classes/KinematicBody.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/KinematicBody.xml b/doc/classes/KinematicBody.xml
index 8404c7429c..164932749f 100644
--- a/doc/classes/KinematicBody.xml
+++ b/doc/classes/KinematicBody.xml
@@ -18,6 +18,7 @@
<argument index="0" name="axis" type="int" enum="PhysicsServer.BodyAxis">
</argument>
<description>
+ Returns [code]true[/code] if the specified [code]axis[/code] is locked. See also [member move_lock_x], [member move_lock_y] and [member move_lock_z].
</description>
</method>
<method name="get_floor_velocity" qualifiers="const">
@@ -136,6 +137,7 @@
<argument index="1" name="lock" type="bool">
</argument>
<description>
+ Locks or unlocks the specified [code]axis[/code] depending on the value of [code]lock[/code]. See also [member move_lock_x], [member move_lock_y] and [member move_lock_z].
</description>
</method>
<method name="test_move">