three-pathfinding
three-pathfinding copied to clipboard
Player sometimes gets stuck in the demo when changing path
I was trying out if I could get the player stuck and sure enough I could fairly reliable do it. Not sure if this is an issue with the library or mesh.
https://user-images.githubusercontent.com/23610510/120528340-0217b500-c3e4-11eb-8925-adef7fb7525e.mov
First time trying to do pathfinding in three and not sure what could cause this / how to work around.
I got it working by not checking polygon for closest node when finding path.
https://github.com/tkovis/three-pathfinding/commit/8b4f1c9ddd012627eb7ca992a26b0c04d0650879
Seems like it could be a breaking change so I'll not create a PR