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

How do I make this move in uniform circular motion?

Asked by 7 years ago

Ok, so I made this:

wait(1)

Part = workspace.Part
Center = workspace.Center

game:GetService("RunService").RenderStepped:connect(function()
    Pos = Center.CFrame:toObjectSpace(Part.CFrame)
    Part.Velocity = (part.Velocity - Pos.p)
end)

Test it out if you want, Center is anchored, and Part is unanchored, as well as being above and to the side of Center. What do I change to make Part move in a circle around Center, and at a more controllable speed?

0
I am not sure what you found wrong with the answer I gave to your last thread, but there is no advantage to using CFrame in your situation. Changing the velocity property in parts does pretty much nothing useful. bigboy77584 19 — 7y

Answer this question