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

How a can I weld 2 parts together but allow them both to rotate freely?

I want to bind a part to the character's torso, but I want that part to be able to rotate on it's own without rotating the character. How can I do it?

1 comment

0

I don't think you can use a regular weld, but Roblox has "Constraints" now that allow for parts to be connected, like Rope and Hinge Constraints. I haven't used these much, yet.

2 answers

You can use a BallSocketConstraint. Using the Create button in the Model tab of Studio, create two different attachments onto two different parts. Then create a Ball in Socket and click on the two attachments to create the BallSocketConstraint. When you run Studio, you will find that the two are joined, but rotating freely - even if both have CanCollide on.

API: http://wiki.roblox.com/index.php?title=API:Class/BallSocketConstraint GIF:https://blog.roblox.com/wp-content/uploads/2016/12/BlogBallSocket.gif

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