Skip to content

five-on-it / apps/level-editor/src/scripts/blocks/ramp

apps/level-editor/src/scripts/blocks/ramp ​

Marks a node of the editor scene as a solid ramp: a unit wedge whose low edge sits on the node's origin and climbs along +z; scale it to width (x), height (y) and length (z), turn it with yaw only. The library's block:ramp carries it: place instances of that mesh for npm run level:export to read.

Classes ​