classref: Sync with current master branch (46a568e0a)

This commit is contained in:
Rémi Verschelde
2022-08-31 15:18:54 +02:00
parent b08b95d4f5
commit 465dd176b6
378 changed files with 17124 additions and 13692 deletions

View File

@@ -33,7 +33,7 @@ Properties
+---------------------------+------------------------------------------------------------------------------------------+-----------+
| :ref:`int<class_int>` | :ref:`navigation_layers<class_NavigationAgent2D_property_navigation_layers>` | ``1`` |
+---------------------------+------------------------------------------------------------------------------------------+-----------+
| :ref:`float<class_float>` | :ref:`neighbor_dist<class_NavigationAgent2D_property_neighbor_dist>` | ``500.0`` |
| :ref:`float<class_float>` | :ref:`neighbor_distance<class_NavigationAgent2D_property_neighbor_distance>` | ``500.0`` |
+---------------------------+------------------------------------------------------------------------------------------+-----------+
| :ref:`float<class_float>` | :ref:`path_desired_distance<class_NavigationAgent2D_property_path_desired_distance>` | ``1.0`` |
+---------------------------+------------------------------------------------------------------------------------------+-----------+
@@ -183,17 +183,17 @@ A bitfield determining what navigation layers of navigation regions this agent w
----
.. _class_NavigationAgent2D_property_neighbor_dist:
.. _class_NavigationAgent2D_property_neighbor_distance:
- :ref:`float<class_float>` **neighbor_dist**
- :ref:`float<class_float>` **neighbor_distance**
+-----------+--------------------------+
| *Default* | ``500.0`` |
+-----------+--------------------------+
| *Setter* | set_neighbor_dist(value) |
+-----------+--------------------------+
| *Getter* | get_neighbor_dist() |
+-----------+--------------------------+
+-----------+------------------------------+
| *Default* | ``500.0`` |
+-----------+------------------------------+
| *Setter* | set_neighbor_distance(value) |
+-----------+------------------------------+
| *Getter* | get_neighbor_distance() |
+-----------+------------------------------+
The distance to search for other agents.
@@ -243,7 +243,7 @@ The maximum distance the agent is allowed away from the ideal path to the final
| *Getter* | get_radius() |
+-----------+-------------------+
The radius of the avoidance agent. This is the "body" of the avoidance agent and not the avoidance maneuver starting radius (which is controlled by :ref:`neighbor_dist<class_NavigationAgent2D_property_neighbor_dist>`).
The radius of the avoidance agent. This is the "body" of the avoidance agent and not the avoidance maneuver starting radius (which is controlled by :ref:`neighbor_distance<class_NavigationAgent2D_property_neighbor_distance>`).
Does not affect normal pathfinding. To change an actor's pathfinding radius bake :ref:`NavigationMesh<class_NavigationMesh>` resources with a different :ref:`NavigationMesh.agent_radius<class_NavigationMesh_property_agent_radius>` property and use different navigation maps for each actor size.