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
Hi,
firstable i ' d like to say very impressive job.So simple and modulable.
I don't have any issue but do you have an advice plz if we want to use AstarGrid2D instead move_to function(in Satyr.gd)?
Many thanks.
The text was updated successfully, but these errors were encountered:
Thank you. I haven't used AstarGrid2D yet. I reckon the calculation and movement could still be abstracted via themove_to function, but instead of passing the direction you would have to pass the target position. Also, the cost calculation for actions would likely have to consider the length of the full path and not just the distance.
I'm not sure what's the challenge you are facing with astar. I think the closest I have of an example for the movement itself is an example using Navigation2D for Godot 3 https://github.com/viniciusgerevini/godot-navigation-2d-example
I guess this is a bit outdated but there you can find my logic to follow a pre-calculated path.
Hi,
firstable i ' d like to say very impressive job.So simple and modulable.
I don't have any issue but do you have an advice plz if we want to use AstarGrid2D instead move_to function(in Satyr.gd)?
Many thanks.
The text was updated successfully, but these errors were encountered: