godotengine / godotengine/godot-docs

Documentation for the AStar2D, AStar3D, and AStarGrid2D classes' `get_point_path` and `get_id_path` methods doesn't indicate what the return value is if no path is found and `allow_partial_path` is `false`.

Open
#11,628 1 comment 0 reactions 0 assignees View on GitHub
area:class reference enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
N/A
**Issue description:**
The documentation for the `AStar2D`, `AStar3D`, and `AStarGrid2D` classes' `get_id_path` and `get_point_path` methods doesn't indicate what the return value is (empty array or null?) if no path is found and `allow_partial_path` is `false` (its default value).
**URL to the documentation page (if already existing):**
https://docs.godotengine.org/en/stable/classes/class_astar2d.html#class-astar2d-method-get-id-path
https://docs.godotengine.org/en/stable/classes/class_astar2d.html#class-astar2d-method-get-point-path
https://docs.godotengine.org/en/stable/classes/class_astar3d.html#class-astar3d-method-get-id-path
https://docs.godotengine.org/en/stable/classes/class_astar3d.html#class-astar3d-method-get-point-path
https://docs.godotengine.org/en/stable/classes/class_astargrid2d.html#class-astargrid2d-method-get-id-path
https://docs.godotengine.org/en/stable/classes/class_astargrid2d.html#class-astargrid2d-method-get-point-path

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.