Hello everyone, I created three-pathfinding-3d from three-pathfinding.
On this basis, I fixed some unresolved problems and optimized some algorithms.
Here are some differences between these two libraries in some scenarios.
- In test demo
three-pathfinding
three-pathfinding-3d
The reason for this problem is that the definition of left and right on the channel is dynamic, not static, and depends on the first point
- In below case
three-pathfinding
three-pathfinding-3d
The reason for this problem is that sometimes missing first portal.
- In level.nav.glb
three-pathfinding
three-pathfinding-3d
The reason for this problem is that stringPull algorithm(or call it funnel algorithm) not consider case in height offset.
I’ve spoken with Mr.Donmccurdy about merging it into three-pathfinding in the form of a PR. Currently, three-pathfinding-3d is written in TS. The motivation for fixing this was that I encountered these issues with the three-pathfinding library and then tried to resolve them myself.






