From 9b4c5989ad4a3623330517cd5138472ac85461b5 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 27 Oct 2017 19:19:01 +0200 Subject: AStar: Add setters for point position and scale weight, cleanup --- doc/classes/AStar.xml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'doc/classes') diff --git a/doc/classes/AStar.xml b/doc/classes/AStar.xml index 9b15afbbd4..baeeddcd1a 100644 --- a/doc/classes/AStar.xml +++ b/doc/classes/AStar.xml @@ -50,6 +50,7 @@ as.add_point(1, Vector3(1,0,0), 4) # Adds the point (1,0,0) with weight_scale=4 and id=1 [/codeblock] + If there already exists a point for the given id, its position and weight scale are updated to the given values. @@ -107,7 +108,7 @@ - Returns an id with no point associated to it. + Returns the next available point id with no point associated to it. @@ -220,6 +221,28 @@ Removes the point associated with the given id from the points pool. + + + + + + + + + Sets the position for the point with the given id. + + + + + + + + + + + Sets the [code]weight_scale[/code] for the point with the given id. + + -- cgit v1.2.3