-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement pathfinding #3
Comments
I'm also trying to look into this. There seems to be related to the Navigation property of the tiles in a tileset (same as the Shape is related to collision). This project uses such property for generating pathfinding based on a tilemap: http://www.godotengine.org/forum/viewtopic.php?f=11&t=2180 |
Looks great. I am currently not using tilemaps and because of that not working on this Plugin, but if you get something working I'd be happy to merge it |
I just need to know where to grab the navigation shapes from. It could be the reverse of collision (which would be kind of complex for polygons/polylines), or it could use some custom property in the layer to mark as navigation (so it would make the shapes as navigation, instead of collision). This might make this plugin a little harder to use, as being more specific (but only for those who'll use pathfinding though). |
Thinking about it, it seems that it should separated from collision, since that's the way Godot treats navigation paths. So you could grab a custom property of the layer (like The main problem is that |
And I just notice the same applies to Occluder shapes: they only accepts polygons. |
I have to look into the way godot handles pathfinding, but I think this should be possible.
The text was updated successfully, but these errors were encountered: