Quellcode durchsuchen

Merge pull request #34220 from Calinou/doc-kinematicbody-axis-lock

Document the KinematicBody axis lock methods
Rémi Verschelde vor 5 Jahren
Ursprung
Commit
7380fbbaee
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      doc/classes/KinematicBody.xml

+ 2 - 0
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">