Chasing the stairs bug stalled on something simple: the owner can say "I can't walk up the
stairs of the more detailed GLB imports" and it is not reproducible, because neither of us
can name which building. The deterministic stair harness added in #705 works — it just
needs a target.
"I should have a better way to identify where I am on the map, a mini HUD showing my
address and lat long, a way to interact with a building and see what open source info we
have tagged on it... it'd help you know what steps and ramps I've found and it'll help me
get back to them next time."
What shipped
Location readout (src/twin/LocationHud.tsx) in Walk mode: latitude/longitude to 6 dp,
the nearest named landmark, raw ENU metres, and a deep link to the exact point on
OpenStreetMap. No geocoder and no network — the coordinates come from the site's own ENU
projection, so it is instant and works offline.
M marks the spot: copies a paste-ready block —
found: spot
35.045123, -85.309876
ENU 312.4, -88.7
near: Chattanooga Choo Choo Hotel
return: /ScriptHammer/chatt/?diorama&walk&at=35.045123,-85.309876
It deliberately carries both the lat/long (which a human and a map understand) and the raw
ENU metres (which the stair harness is driven with).
?at=lat,lon returns you there. Malformed values parse to null and fall through to the
normal spawn rather than becoming a NaN position — the same class of failure as the ?? 0
spawn height that put the player 33 m underground twice (#651).
E inspects what you are looking at. A click is unavailable in walk mode (it is
pointer-lock), so it is a key, and the ray goes into the collision world — the hit's
object id maps back to a landmark through the registry that baked it in (#702). Two
consequences: no second picking system to drift out of sync, and a building you cannot
select is a building that is not solid, which is itself the diagnostic.
That last part also closed a real gap: WideCity never wired selection through at all,
so the walk path could not open a building's info card even though SelectedBuildingCard
has existed since #259.
Why "address" is lat/long and not a street
This is a static site on GitHub Pages. There is no server to ask "what street is this",
and a real postal address needs either a live geocoder or a baked address table. Both are
tracked separately rather than bolted on; the coordinate is exact, offline, and enough to
make a report reproducible, which is the actual goal.
Chasing the stairs bug stalled on something simple: the owner can say "I can't walk up the
stairs of the more detailed GLB imports" and it is not reproducible, because neither of us
can name which building. The deterministic stair harness added in #705 works — it just
needs a target.
What shipped
Location readout (
src/twin/LocationHud.tsx) in Walk mode: latitude/longitude to 6 dp,the nearest named landmark, raw ENU metres, and a deep link to the exact point on
OpenStreetMap. No geocoder and no network — the coordinates come from the site's own ENU
projection, so it is instant and works offline.
Mmarks the spot: copies a paste-ready block —It deliberately carries both the lat/long (which a human and a map understand) and the raw
ENU metres (which the stair harness is driven with).
?at=lat,lonreturns you there. Malformed values parse to null and fall through to thenormal spawn rather than becoming a NaN position — the same class of failure as the
?? 0spawn height that put the player 33 m underground twice (#651).
Einspects what you are looking at. A click is unavailable in walk mode (it ispointer-lock), so it is a key, and the ray goes into the collision world — the hit's
object id maps back to a landmark through the registry that baked it in (#702). Two
consequences: no second picking system to drift out of sync, and a building you cannot
select is a building that is not solid, which is itself the diagnostic.
That last part also closed a real gap:
WideCitynever wired selection through at all,so the walk path could not open a building's info card even though
SelectedBuildingCardhas existed since #259.
Why "address" is lat/long and not a street
This is a static site on GitHub Pages. There is no server to ask "what street is this",
and a real postal address needs either a live geocoder or a baked address table. Both are
tracked separately rather than bolted on; the coordinate is exact, offline, and enough to
make a report reproducible, which is the actual goal.