Log inGet started
World

Raise the Roof: Build Mode, Snapping and Base Pieces Kit

README.md

rules

Whether a piece fits where it is aimed, pure and the same on every machine: Rules.check(kind, pose, env) answers ok or a refusal code (overlap, player, floating, slope, outside, blocked, needsSocket) with the text a player reads. It tests oriented boxes against nearby pieces, standing capsules for players, support points against piece tops and the ground, the ground's slope, the build area and scenery in the way. The ghost asks it every frame and the deciding machine asks it again before building. Rules.raycastPieces finds the piece a ray points at.