Free the roof cap from the exterior wall fence #153

Merged
sermuns merged 1 commit from fix/150-roof-invisible-border into main 2026-10-24 22:23:06 +00:00
Owner

The clearance band rule in can_walk_to never compared the player's height against the building, so the footprint border acted as a fence extending infinitely upward: walkers on the roof cap were pinned short of the parapet and could not jump off, and canopy gliders collided with invisible geometry over roofs.

The exterior wall now stands only below the roof: when both move endpoints have feet at or above building_roof_height, the building is skipped. Ground-level collision is unchanged.

closes #150

The clearance band rule in `can_walk_to` never compared the player's height against the building, so the footprint border acted as a fence extending infinitely upward: walkers on the roof cap were pinned short of the parapet and could not jump off, and canopy gliders collided with invisible geometry over roofs. The exterior wall now stands only below the roof: when both move endpoints have feet at or above `building_roof_height`, the building is skipped. Ground-level collision is unchanged. closes #150
The clearance band rule in can_walk_to ignored height, so the footprint
border pinned a walker near the parapet at every altitude and blocked
canopies gliding over roofs. The exterior wall now stops at the cap:
feet at or above building_roof_height clear the building entirely.

closes #150
sermuns force-pushed fix/150-roof-invisible-border from 0e706510d2 to 8a173fb3fc 2026-10-24 22:23:02 +00:00 Compare
Sign in to join this conversation.
No description provided.