Im trying to use :Resize() to resize parts using handles, it works normally, but I have an issue when the part collides with another part, causing it to change positions.
This is the code segment
scaleHandle.MouseDrag:Connect(function(face, d)
if scaleHandle.Adornee.Size[surfaceAxis[face]] > min or d > 0 then
part:Resize(face, -previousDistance)
local distance = (math.floor(d/inc + .5) * inc)
part:Resize(face, distance)
previousDistance = distance
end
end)
scaleHandle.MouseButton1Up:Connect(function(face)
previousDistance = 0
--updateToActionLog
end)