Skip to content

five-on-it / apps/level-editor/src/scripts/blocks/nail-strip

apps/level-editor/src/scripts/blocks/nail-strip ​

Marks a node of the editor scene as a strip of nails: a unit strip along x, scaled along x to its length only, turned with yaw only; a tyre that rolls over it goes flat. The library's block:nail-strip carries it: place instances of that mesh for npm run level:export to read.

Classes ​