Files
moonwell-client-core/crates
Sam Sung 641f188a58 Step trigger: a riser leaning out over its foot is a step (#3023)
Since the stairs fix classified floors by the hit face, some steps stopped the player like a wall, such as the Thelsamar inn's door and the Dun Morogh, Loch Modan and Wetlands tunnels. The step trigger still refused a face whose normal points slightly down. That gate was harmless on the contact normal, but many dwarven risers lean a few degrees out over their foot (the inn's sill: z −0.063), so no step was tried.

1.12.1's trigger (`0x6334a0`) returns 0 for a face leaning out (`n.z < 0`, `0x63351c`) that doesn't touch the box's top (`0x6333d0`), as it does for a steep upright face. The walk resolver then runs the step probe (`0x636b6e`).

The trigger now refuses only a face facing down by more than 50°. A test walks the real inn WMO over its 0.28 yd sill; it stalls without the change. The Stormwind stair tests still pass.

Fixes #3019

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 09:00:05 +07:00
..