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

Rotating around a point?

Asked by 5 years ago

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

Log in to vote
0
Answered by
SCP774 191
5 years ago

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!

0
Only 1 part is rotating NexoTV4 7 — 5y
Ad

Answer this question