The navigation mesh to use for the raycast.
The NodeRef for the start polygon
The starting position in world space.
The ending position in world space.
The query filter to apply.
The reference to the polygon we came from (for accurate cost calculations).
The raycast result with hit information, visited polygons, and accumulated path costs.
Casts a 'walkability' ray along the surface of the navigation mesh from the start position toward the end position, calculating accumulated path costs.
This method is meant to be used for quick, short distance checks. The raycast ignores the y-value of the end position (2D check).