mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix terrain collision by correcting spawn coordinates
- Spawn position changed to (-9080, -100, 100) which is on actual terrain - The terrain mesh uses WoW coordinates from ADT files directly - Camera/spawn position must use same coordinate system as terrain - Cleaned up getHeightAt comments to clarify coordinate system - Removed debug logging from WMO floor detection
This commit is contained in:
parent
a97ebfbc60
commit
a9dd685398
3 changed files with 18 additions and 12 deletions
|
|
@ -764,8 +764,6 @@ std::optional<float> WMORenderer::getFloorHeight(float glX, float glY, float glZ
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// (debug logging removed)
|
||||
}
|
||||
|
||||
return bestFloor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue