Document the KinematicBody axis lock methods

This commit is contained in:
Hugo Locurcio 2019-12-09 13:45:12 +01:00
parent 2ebc783e9c
commit 3acbabca1e
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -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">