0 votes

if you were to control click on this function astar2d.getpointpath() it would tell you that it doesn't work in a thread, and I programmed my multi threaded path finding system with that in mind, but then I decided to try it anyways because it could offer higher performance. It worked perfectly. Also to anyone who might think that it isn't actually running on a separate thread and just looks like it is, I know it is because every thing it does is completely desynced from the main thread and I spent 2 days trying to make it not crash because of that.

But my main point is, it said it would output an error and an empty PoolVector2Array but it didn't, instead it returned a working valid astar2d path.

EDIT: It says it won't work in the online docs too. https://docs.godotengine.org/en/stable/classes/class_astar2d.html?highlight=astar#class-astar2d-method-get-point-path

Godot version 3.3
in Engine by (440 points)
edited by

1 Answer

0 votes

If you think the docs are wrong you can report it here: https://github.com/godotengine/godot-docs

by (7,190 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.