Placement System For Wall Objects

I think the dragger UI button is a custom mouse icon when hitting the part.

Use math.clamp to snap to a grid
And use maybe region3 or raycast or both combined to detect when the model youre moving is touching a wall, stop movig it (so it wouldnt go inside the wall)

2 Likes

You can try with this (I didn’t tested it)

local position = CFrame.lookAt(position, position+normal) + (Model.PrimaryPart.Size * Normal / 2)

Adds the model size divided by 2 and multiplies it by the normal face (e.g. Vector3.new(-1, 0, 0), the script will only add the not 0 value)

1 Like