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

How could you make a part be on one side of a part?

Asked by
I_0KI 40
6 years ago

How would you make a part go on one side of a part, kind of like a decal but a part. I would show you code I have tried however I have no idea how to do this whatsoever.

0
Do you mean aligning the parts perfectly side by side? I don't understand the question much Vulkarin 581 — 6y
0
I don't understand the question? jtwgames 0 — 6y

1 answer

Log in to vote
0
Answered by
mattscy 3725 Moderation Voter Community Moderator
6 years ago
part1.CFrame = part2.CFrame * CFrame.new(part2.Size.X/2,0,0)

Do you mean something like this?

Ad

Answer this question