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

Rotating around a point?

How can I get a part to rotate around a point? I have 8 Rhombus and I want that this 8 Rhombus turn around a sphere. How can I do that? Like this: https://streamable.com/lmf8j

1 answer

The easiest way of doing so is to make an invisible part in the center. Weld all of the parts that you want to rotate with it. And then rotate the invisible part using a simple rotation script.

You can use mine if you want to.

while wait() do
    script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(1, 0, 0)
end

Change the Vector3 Value of the CFrame.fromEulerAnglesXYZ() to change the pace and the direction of rotation.

Hopefully this helped!

2 comments

0

Only 1 part is rotating

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