Hello devs!
I tryed to do one system but i got this error which idk how to fix
When you do some cycle in one frame which change position of part some amount of times and emit one particle by command :Emit(1) but after completing this cycle all sparks spawn in end position
For example
for i = 1,5,1 do
workspace.PEPart.ParticleEmitter:Emit(1)
workspace.PEPart.Position = Vector3.new(0,2+i,0)
end
The loop seems to be moving the Position relative to its world position, and moving it up by +1 every time
Maybe try implementing a Heartbeat wait instead?
local RunService = game:GetService("RunService")
for i = 1,5,1 do
workspace.PEPart.ParticleEmitter:Emit(1)
workspace.PEPart.Position = Vector3.new(0,2+i,0)
RunService.Heartbeat:Wait()
end
I trying to do smoke particles after rocket but this is goes fast so normal particles dont have this speed so i filling crossed space every frame by particles but if i doing it all particles goes to one position and looks bad
I need way to do it in one moment, only one way i found its just create parts in every position and do one particle in it but thats so lag if i doing it every frame like i need
Ok now I’m just confused
If you’re wanting to use Smoke particles then just use the Smoke object? If you’re using ParticleEmitters then you can set the angle from where they move to go down
I mean if i gonna do it just by particles this is not gonna work well becouse particles can hae random speed but if i will be unlucky i can get half of crossed distance without smoke and it gonna look bad but rocket works by ray cast and every frame it moves by some distance speed*deltaTime