mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Merge pull request #30810 from Xrayez/doc-kinematic-test-only
Make KinematicBody docs consistent regarding `test_only` argument
This commit is contained in:
commit
7d1dd54d8b
@ -76,6 +76,7 @@
|
||||
</argument>
|
||||
<description>
|
||||
Moves the body along the vector [code]rel_vec[/code]. The body will stop if it collides. Returns a [KinematicCollision2D], which contains information about the collision.
|
||||
If [code]test_only[/code] is [code]true[/code], the body does not move but the would-be collision information is given.
|
||||
</description>
|
||||
</method>
|
||||
<method name="move_and_slide">
|
||||
|
Loading…
Reference in New Issue
Block a user