1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Added a generic AStar implementation to Godot.

It's pretty fast, use it for games where Navigation does not cut it.
This commit is contained in:
Juan Linietsky
2016-09-13 18:17:18 -03:00
parent bfe67a3b87
commit 827a9aa829
4 changed files with 509 additions and 0 deletions

View File

@@ -88,6 +88,8 @@ void CreateDialog::popup(bool p_dontclear) {
memdelete(f);
} else {
#if 0
// I think this was way too confusing
if (base_type=="Node") {
//harcode some favorites :D
favorite_list.push_back("Panel");
@@ -107,6 +109,7 @@ void CreateDialog::popup(bool p_dontclear) {
favorite_list.push_back("AnimationPlayer");
}
#endif
}
_update_favorite_list();