donmccurdy / donmccurdy/three-pathfinding

Strange behavior on elevations.

Open
#41 9 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.4k
Forks
140
PR merge metrics
No merged PRs in 30d

Description

Hey,

I came across a strange navigation behavior. I'm not sure if it's a bug or something I missed.

The green line on the attached graphic is the expected path. Gray points are intermediate points that should be added to the path.

The red line is the current behavior. Yellow points are points that are in the path.

It seems that the height difference is ignored if the destination or the point where the change of direction is required are at the same height.

![three-nav](https://user-images.githubusercontent.com/3027308/55002289-9e5cfa80-4fd6-11e9-8e58-266b1900baea.png)

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.