Building System Help

I am trying to make a sandbox-style building system and have run into an issue.

My script works great for 1x1 (and other odd-numbered) blocks, but 1x2 (and all even numbered) blocks get positioned off-grid due to the Position property affecting the exact center of the block. I’m not sure how to fix this… PivotPoints are possibly an option, but there is very little info about them on the DevHub.

We’re going to be releasing pivot (along with documentation for it) soon, until then see the info about the API in the announcement post: Pivot Points - Studio Beta

TL;DR: Set the pivot using the Edit Pivot tool, and then move the part/model using part/model:PivotTo(cframe for the pivot to end up at after the move)

3 Likes