Orbiting Particles

I am trying to make particles that rotate or orbit around a block or dynamic object like a player’s character but I have no idea how to. I’ve played around with the acceleration of the particles but I can’t think of a way to get them to orbit around an object infinitely. Any suggestions of methods I could use would be helpful.

1 Like

You could put an invisible orbiting part around an object and put the particle in that orbiting part

1 Like

Use trigonometric the functions math.sin() and math.cos() to trace a circular trajectory around the target like

considering a Radius of 3 studs
and a starting Angle of 0

every moment or so this function should happen

Angle += 1 --(this basically means Angle = Angle + 1)

OrbitPart.Position.X = TargetPart.Position.X + (sin(Angle)*Radius)
OrbitPart.Position.Z = TargetPart.Position.Z + (cos(Angle)*Radius)

this should most probrably be correct
you have to code the background though, use this as reference

2 Likes