Skip to content

fix: revert incorrect Y→Z coordinate changes, keep map dimension fix#1243

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/fix-fog-of-war-BqamZ
Feb 2, 2026
Merged

fix: revert incorrect Y→Z coordinate changes, keep map dimension fix#1243
braedonsaunders merged 1 commit into
mainfrom
claude/fix-fog-of-war-BqamZ

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

Reverted the transform.y → transform.z changes that broke the minimap and fog of war. In this codebase, transform.y IS the depth coordinate (not altitude), which is an unconventional but valid convention.

The following fixes remain in place:

  • setMapDimensions() method in EffectPasses.ts for dynamic map sizing
  • PostProcessing.ts using setMapDimensions() with cell size
  • PathfindingSystem.ts cloning navmesh arrays to prevent detachment
  • Y-flip in FogOfWar.ts restored for correct texture coordinates

https://claude.ai/code/session_013Hqn3PxBW8h7hpMNMKKv1e

Reverted the transform.y → transform.z changes that broke the minimap
and fog of war. In this codebase, transform.y IS the depth coordinate
(not altitude), which is an unconventional but valid convention.

The following fixes remain in place:
- setMapDimensions() method in EffectPasses.ts for dynamic map sizing
- PostProcessing.ts using setMapDimensions() with cell size
- PathfindingSystem.ts cloning navmesh arrays to prevent detachment
- Y-flip in FogOfWar.ts restored for correct texture coordinates

https://claude.ai/code/session_013Hqn3PxBW8h7hpMNMKKv1e
@braedonsaunders braedonsaunders merged commit dd55295 into main Feb 2, 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