PsichiX / navmesh

Nav-Mesh path finder for Rust
Other
48 stars 7 forks source link

Plots Path to Disconnected Target Within a Certain Range #4

Open zicklag opened 3 years ago

zicklag commented 3 years ago

When my target point is not accessible from the source point, the path finder will still return a path if my target point is close to a routable target. For instance in this screenshot, even though the dog is not accessible through the mesh, because the dog is close to the mesh, it plots a path to the closest point that it can get to.

image

I actually like this behavior in some cases, but there's currently no way to configure it and by default I would think that no path should be returned when there is no way to reach the target.