summaryrefslogtreecommitdiffstats
path: root/doc/classes/NavigationAgent2D.xml
diff options
context:
space:
mode:
authorSai-Suraj-27 <sai.suraj.27.729@gmail.com>2023-08-10 12:07:56 +0530
committerSai-Suraj-27 <sai.suraj.27.729@gmail.com>2023-08-10 12:07:56 +0530
commitc2fd9b6d720122107314c4045e2d786578b160b4 (patch)
tree4afd76866ffe3b074fca1fabbf94793004ece7de /doc/classes/NavigationAgent2D.xml
parent013e8e3afb982d4b230f0039b6dc248b48794ab9 (diff)
downloadredot-engine-c2fd9b6d720122107314c4045e2d786578b160b4.tar.gz
Fixed tiny spelling error in doc\classes\NavigationAgent2D.xml
Diffstat (limited to 'doc/classes/NavigationAgent2D.xml')
-rw-r--r--doc/classes/NavigationAgent2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/NavigationAgent2D.xml b/doc/classes/NavigationAgent2D.xml
index c1570f3149..71f8c50667 100644
--- a/doc/classes/NavigationAgent2D.xml
+++ b/doc/classes/NavigationAgent2D.xml
@@ -180,7 +180,7 @@
The distance to search for other agents.
</member>
<member name="path_desired_distance" type="float" setter="set_path_desired_distance" getter="get_path_desired_distance" default="20.0">
- The distance threshold before a path point is considered to be reached. This allows agents to not have to hit a path point on the path exactly, but only to reach its general area. If this value is set too high, the NavigationAgent will skip points on the path, which can lead too leaving the navigation mesh. If this value is set too low, the NavigationAgent will be stuck in a repath loop because it will constantly overshoot or undershoot the distance to the next point on each physics frame update.
+ The distance threshold before a path point is considered to be reached. This allows agents to not have to hit a path point on the path exactly, but only to reach its general area. If this value is set too high, the NavigationAgent will skip points on the path, which can lead to leaving the navigation mesh. If this value is set too low, the NavigationAgent will be stuck in a repath loop because it will constantly overshoot or undershoot the distance to the next point on each physics frame update.
</member>
<member name="path_max_distance" type="float" setter="set_path_max_distance" getter="get_path_max_distance" default="100.0">
The maximum distance the agent is allowed away from the ideal path to the final position. This can happen due to trying to avoid collisions. When the maximum distance is exceeded, it recalculates the ideal path.