donmccurdy / three-pathfinding

Navigation mesh utilities for three.js, based on PatrolJS.
https://three-pathfinding.donmccurdy.com/
MIT License
1.2k stars 135 forks source link

How to solve the problem of navmesh flipping after executing Pathfinding.createZone and subsequent click space misalignment #223

Closed PierceYao closed 8 months ago

PierceYao commented 8 months ago

Hello, I have encountered a problem. After executing Pathfinding.createZone, navmesh rotated 90 degrees around the X-axis. After flipping rotateX (Math. PI/2) back, I found that clicking on navmesh was invalid, and the starting and ending points of clicking were still on the unfripped navmesh, as shown in the following figure. How can I modify it 1703833516028 1703833684352

PierceYao commented 8 months ago

Hello, the issue of navmesh deflection has been resolved. But the issue with this annotation point below navmesh is still unresolved. I clicked on navmesh without any effect, but when I clicked below the model, it appeared. How to handle it 1704177609078