Selaa lähdekoodia

Change move() to move_and_slide()

walomator 7 vuotta sitten
vanhempi
commit
b624339788
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
    etc). As an example, the 2d/platformer demo uses them for moving
    platforms.
    platforms.
 -  **Kinematic Characters**: KinematicBody2D also has an API for moving
 -  **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
    makes them really useful to implement characters that collide against
    a world, but that don't require advanced physics. There is a tutorial
    a world, but that don't require advanced physics. There is a tutorial
    about it :ref:`doc_kinematic_character_2d`.
    about it :ref:`doc_kinematic_character_2d`.