Skip to content

fix: use water navmesh for naval path smoothing#1358

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/fix-unit-pathfinding-cZzuc
Feb 4, 2026
Merged

fix: use water navmesh for naval path smoothing#1358
braedonsaunders merged 1 commit into
mainfrom
claude/fix-unit-pathfinding-cZzuc

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

Naval paths were being smoothed using ground navmesh validation, causing waypoints to incorrectly cut across land. Added water-specific smoothWaterPath() and canWalkDirectWater() methods that validate shortcuts using the water navmesh instead.

https://claude.ai/code/session_01KUGZeHF9PQStRhGzfm8qrp

Naval paths were being smoothed using ground navmesh validation,
causing waypoints to incorrectly cut across land. Added water-specific
smoothWaterPath() and canWalkDirectWater() methods that validate
shortcuts using the water navmesh instead.

https://claude.ai/code/session_01KUGZeHF9PQStRhGzfm8qrp
@braedonsaunders braedonsaunders merged commit 2052460 into main Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants