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 joint blocks from the inside?

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.

2 comments

0

What even are you?

0

I do not know you question because of the grammatical error that confuses me,

1 answer

✓ Accepted answer

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

4 comments

0

Are Part0 and Part1 the part's that are going to be welded together? or is it the property of Weld?

0

The Part0 and Part1 properties of Weld are being set to the corresponding parts Part0 and Part1.

0

May I ask where to place this block of code?

0

Define Part0 and Part1 as the head and torso.

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