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

How do I joint blocks from the inside?

Asked by 8 years ago
I plan to make a strange humanoid body that has its head inside of it, but I can't figure out how to joint it with the body part that the head is inside.

For the structure of the body, it can be thought of as a "torso" block with a "head" that is smaller in size inside of it.
0
What even are you? dyler3 1510 — 8y
0
I do not know you question because of the grammatical error that confuses me, MaplebloxX54321 15 — 8y

1 answer

Log in to vote
0
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
8 years ago

You can use a Weld to join parts. If the parts are already in the correct relative orientations, you can do this:

local weld=Instance.new("Weld",Part0)
weld.Part0=Part0
weld.Part1=Part1
weld.C0=Part0.CFrame:inverse()*Part1.CFrame
0
Are Part0 and Part1 the part's that are going to be welded together? or is it the property of Weld? MaplebloxX54321 15 — 8y
0
The Part0 and Part1 properties of Weld are being set to the corresponding parts Part0 and Part1. 1waffle1 2908 — 8y
0
May I ask where to place this block of code? MaplebloxX54321 15 — 8y
0
Define Part0 and Part1 as the head and torso. 1waffle1 2908 — 8y
Ad

Answer this question