Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I set the position of a block without it teleporting to above any intersecting block?

My position changing looks like this:

(valuename is a vector3value)

part.Position = valuename.Value

However, when I use it, if there is an intersect between the moving part and any other block, it will teleport to above the conflicting block. Is there any way to fix this?

1 answer

✓ Accepted answer

You can use CFrame which will prevent that:

part.CFrame = CFrame.new(valuename.Value)

This discussion is preserved as it was. New answers, comments, and votes are closed.