five-on-it / apps/level-editor/src/scripts/blocks/ladder
apps/level-editor/src/scripts/blocks/ladder
Marks a node of the editor scene as a ladder: its foot on the node's origin (the middle of its bottom, against its wall, on the floor it stands on), the climber facing the node's +z (the wall), scaled in its height only (how high it climbs, to the floor at its top). The interaction key at its foot or its top climbs it. The library's block:ladder carries it: place instances of that mesh for npm run level:export to read.