Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
Represents the result of a 3D pathfinding query.
This class stores the result of a 3D navigation path query from the NavigationServer3D.
reset ( )
PathSegmentType PATH_SEGMENT_TYPE_REGION =
This segment of the path goes through a region.
This segment of the path goes through a link.
PackedVector3Array path =
The resulting path array from the navigation query. All path array positions are in global coordinates. Without customized query parameters this is the same path as returned by NavigationServer3D.map_get_path.
PackedInt64Array path_owner_ids =
ObjectIDs of the Objects which manage the regions and links each point of the path goes through.
RID path_rids =
The RIDs of the regions and links that each point of the path goes through.
PackedInt32Array path_types =
The type of navigation primitive (region or link) that each point of the path goes through.
void reset ( )
Reset the result object to its initial state. This is useful to reuse the object across multiple queries.