I am currently making a plugin, and I use a part to determine the selected area, however, when sizing the part it wont go through terrain. This plugins main purpose is to be able to select through terrain.
Here is what happens:
Here is a sliver of code that controls this:
elseif face == Enum.NormalId.Bottom then local newDis if snap then newDis = math.ceil(distance) else newDis = distance end newPos = origPos - Vector3.new(0, newDis/2, 0) newSize = origSize + Vector3.new(0, newDis, 0) p2.Position = origPos - Vector3.new(0, newDis/2, 0) p2.Size = newSize