Просмотр исходного кода

Fix navigation basic setup confusing instructions / images

Fixes some confusing images and instructions in the basic setup section as it is not required to place the character below a NavigationRegion node, it can be placed anywhere.
smix8 2 лет назад
Родитель
Сommit
0c4dd78bbe

BIN
tutorials/navigation/img/nav_2d_min_setup_step3.png


BIN
tutorials/navigation/img/nav_2d_min_setup_step3.webp


BIN
tutorials/navigation/img/nav_3d_min_setup_step4.png


BIN
tutorials/navigation/img/nav_3d_min_setup_step4.webp


+ 2 - 2
tutorials/navigation/navigation_introduction_2d.rst

@@ -83,12 +83,12 @@ NavigationServer2D and a NavigationAgent2D for path movement.
         Leave enough margin between the navpolygon edges and collision objects to not get path
         Leave enough margin between the navpolygon edges and collision objects to not get path
         following actors repeatedly stuck on collision.
         following actors repeatedly stuck on collision.
 
 
-#. Add a CharacterBody2D below the region node with a basic collision shape and a sprite or mesh
+#. Add a CharacterBody2D node in the scene with a basic collision shape and a sprite or mesh
    for visuals.
    for visuals.
 
 
 #. Add a NavigationAgent2D node below the character node.
 #. Add a NavigationAgent2D node below the character node.
 
 
-   .. image:: img/nav_2d_min_setup_step3.png
+   .. image:: img/nav_2d_min_setup_step3.webp
 
 
 #. Add the following script to the CharacterBody2D node. We make sure to set a movement target
 #. Add the following script to the CharacterBody2D node. We make sure to set a movement target
    after the scene has fully loaded and the NavigationServer had time to sync.
    after the scene has fully loaded and the NavigationServer had time to sync.

+ 2 - 2
tutorials/navigation/navigation_introduction_3d.rst

@@ -91,11 +91,11 @@ a NavigationAgent3D for path movement.
 
 
    .. image:: img/nav_3d_min_setup_step3.png
    .. image:: img/nav_3d_min_setup_step3.png
 
 
-#. Add a CharacterBody3D below the region node with a basic collision shape and some mesh for visuals.
+#. Add a CharacterBody3D node in the scene with a basic collision shape and some mesh for visuals.
 
 
 #. Add a NavigationAgent3D node below the character node.
 #. Add a NavigationAgent3D node below the character node.
 
 
-   .. image:: img/nav_3d_min_setup_step4.png
+   .. image:: img/nav_3d_min_setup_step4.webp
 
 
 #. Add a script to the CharacterBody3D node with the following content. We make sure to set a
 #. Add a script to the CharacterBody3D node with the following content. We make sure to set a
    movement target after the scene has fully loaded and the NavigationServer had time to sync.
    movement target after the scene has fully loaded and the NavigationServer had time to sync.