From 16efd0b0fc53804b4edaa518127369e40591ea45 Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Fri, 23 Dec 2022 23:37:04 +0300 Subject: Divide `AStarGrid2D::default_heuristic` into two different heuristics --- doc/classes/AStarGrid2D.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/classes/AStarGrid2D.xml b/doc/classes/AStarGrid2D.xml index cba783246f..32599d7f7d 100644 --- a/doc/classes/AStarGrid2D.xml +++ b/doc/classes/AStarGrid2D.xml @@ -140,8 +140,11 @@ The size of the point cell which will be applied to calculate the resulting point position returned by [method get_point_path]. If changed, [method update] needs to be called before finding the next path. - - The default [enum Heuristic] which will be used to calculate the path if [method _compute_cost] and/or [method _estimate_cost] were not overridden. + + The default [enum Heuristic] which will be used to calculate the cost between two points if [method _compute_cost] was not overridden. + + + The default [enum Heuristic] which will be used to calculate the cost between the point and the end point if [method _estimate_cost] was not overridden. A specific [enum DiagonalMode] mode which will force the path to avoid or accept the specified diagonals. -- cgit v1.2.3