Browse Source

Change move() to move_and_slide()

walomator 7 năm trước cách đây
mục cha
commit
b624339788
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tutorials/physics/physics_introduction.rst

+ 1 - 1
tutorials/physics/physics_introduction.rst

@@ -246,7 +246,7 @@ They have two main uses:
    etc). As an example, the 2d/platformer demo uses them for moving
    platforms.
 -  **Kinematic Characters**: KinematicBody2D also has an API for moving
-   objects (the ``move()`` function) while performing collision tests. This
+   objects (the ``move_and_slide()`` function) while performing collision tests. This
    makes them really useful to implement characters that collide against
    a world, but that don't require advanced physics. There is a tutorial
    about it :ref:`doc_kinematic_character_2d`.