mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix docks ramp collision, ocean shading, and note Moonwell water issue
This commit is contained in:
parent
c825dbd752
commit
0595e5f644
4 changed files with 88 additions and 36 deletions
|
|
@ -1109,7 +1109,7 @@ bool WMORenderer::checkWallCollision(const glm::vec3& from, const glm::vec3& to,
|
|||
// Lower parts of ramps should be stepable from the side.
|
||||
// Allow a larger step-up budget for ramp-like triangles.
|
||||
// Allow running off/onto lower ramp side geometry without invisible wall blocks.
|
||||
if (normal.z > 0.20f && triMaxZ <= localFeetZ + 1.60f) continue;
|
||||
if (normal.z > 0.30f && triMaxZ <= localFeetZ + 0.95f) continue;
|
||||
// Ignore short near-vertical side strips around ramps/edges.
|
||||
// These commonly act like invisible side guard rails.
|
||||
float triHeight = triMaxZ - triMinZ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue