You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll send a PR for this later today if nobody else did it by then.
Note that currently, you could use AStar:add_point() for this. If the point you give to add_point() already exists, it just updates it's position and weight_scale. This doesn't seem to be documented yet, however, so I'll include that. :)
@Noshyaar As far as I can see, no. To quote that issue:
1. have a set_weight_scale(int point_id) function
2. have a set_custom_weigth_calculator(object, string function_name)
func function_name(int point_from, int_point_to)
The PR only added the second one, while this is asking for the first one again, like that issue :)
Not hard to implement however, if I'm not missing anything.
Please add the weight change to a previously created point at AStar.
Something like this
The text was updated successfully, but these errors were encountered: