summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFerenc Arn <tagcup@yahoo.com>2017-05-21 14:55:21 -0500
committerFerenc Arn <tagcup@yahoo.com>2017-05-21 15:13:09 -0500
commite4eb093c62044cdce05ada0e0a42011c7e6628cf (patch)
tree0981c7b3671f1188711e5540b35f5b0e2086f61f /doc
parent5b3709d3096df737b8bb2344446be818b0389bfe (diff)
Avoid overestimating the cost in AStar heuristics.
This is a necessary condition for finding optimal solutions. This is achieved by simply requiring/ensuring that no weights are smaller than 1. Fixes #8584.
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index a04890d4fd..da614e14d3 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -1991,6 +1991,7 @@
<argument index="1" name="pos" type="Vector3">
</argument>
<argument index="2" name="weight_scale" type="float" default="1">
+ Weight scale has to be 1 or larger.
</argument>
<description>
</description>