diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-09 15:16:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-09 15:16:55 +0100 |
commit | 7380fbbaeebb34168aa6998c490ef05b63125ade (patch) | |
tree | bfbc4cea5d87b3506eec4ab7bfa99985a040cefa | |
parent | 2ebc783e9c7c257bb122f8a19e2426193a481aa4 (diff) | |
parent | 3acbabca1ef5cbca75b8b8dbf830ea5cbd2d3b5e (diff) |
Merge pull request #34220 from Calinou/doc-kinematicbody-axis-lock
Document the KinematicBody axis lock methods
-rw-r--r-- | doc/classes/KinematicBody.xml | 2 |
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"> |