I am trying to make particles out of a ParticleEmitter follow a path that has more then 1 curve. in one of my games objects get vaporized and then sent through tubes, the way this is done is by having a ParticleEmitter shoot out particles that are colored like the objects Color3 value. some of the tubes have more then 1 turn though, (if there was only 1 I would just use the acceleration property of the particle emitter.) how can I add multiple curves to a particle?
If you have multiples could you add a second (or however many curves there are) emitter that fires when the 1st particle’s time is up?
Basically have a series of emitters, one for each curve. If the first emitter’s Time is 3 seconds have a Renderstepped wait (Scheduling Code | Roblox Creator Documentation) then make the 2nd emitter fire with it 3 seconds later with the applicable Acceleration. If you work it right you could make an almost seamless path of single Particles.
Not sure you could make a seamless series of multiple particles using this system though.
You could try tweening a transparent part containing a particle emitter around the loop. Setup waypoints at each of the bends and tween it in sections.
I will try this in a sec, but do you know how the speed variable of a particle emitter can be changed into distance per second?
Example:
Let’s say the speed to stud per second ratio is 1/1. (I do not know if it is but I assume so) if I put in 20 as the speed value it will travel 20 studs per second, so if I have something 40 studs away I can make the lifetime 2 seconds, that way the particles will die the moment they reach object 2.
If you do not know the conversion rate that’s fine, I’m sure I can figure it out with a few tests
I could use this, but some of the particles have to be moving pretty fast. In theory I can use locked to part, I’m not sure how good this will look though. I will try it out in a sec!
If you are accelerating or decelerating the particle in a curve then the speed will be affected.
As you said, you could do a rough calculation of the distance the particle is moving, then fine-tune it to last just long enough to just get to the second emitter. You may have to readjust the speed of the second (or successive) emitter so the first particle disappears and the second appears without a visual change in it’s direction/velocity.
thanks, I think if I fine tune it like you said it will look really good!