Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do you make a brick move without teleporting above the nearest part?

Asked by 9 years ago

When you resize/move a brick with scripts, or with tools in Online mode, it freaks out and goes above everything even if there is the slightest clipping. Any way to counteract this effect and move bricks to exact locations without roblox correcting them?

1 answer

Log in to vote
1
Answered by 9 years ago

Use CFrame, Position and Rotation both are properties that when they collide with another part, they move the whole part above the part that collided with it.

CFrame has rotation built into it so you don't really need to use the Position and Rotation properties at all.

Here's the wikipage on CFrames http://wiki.roblox.com/index.php?title=Cframe

Ad

Answer this question