godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

Fix doc in "2D Navigation Overview"

Open urtow opened this issue 2 years ago • 4 comments

navigation_agent have method called get_next_path_location(), not get_next_location()

urtow avatar Feb 26 '23 11:02 urtow

cc @smix8

mhilbrunner avatar Feb 27 '23 06:02 mhilbrunner

If the method was renamed, it also needs to be changed in the C# example (line 182).

paulloz avatar Feb 27 '23 10:02 paulloz

@paulloz updated.

P.S. Nice avatar

urtow avatar Feb 27 '23 18:02 urtow

Should also fix the setter function not just the getter.

smix8 avatar Mar 05 '23 11:03 smix8

Thanks for the contribution! This was missing some places that need to be changed, and actually using the wrong name for the new method (get_next_path_position, not _location). So I made #6910 to fix it.

akien-mga avatar Mar 06 '23 10:03 akien-mga