Hey!
Recently I wanted to make Lightning Strike particle but I have small issue.
The Particle just keeps spawning and spawning with about 0.1sec intervals for about 10 seconds in same place.
I set only 1 particle, and life is set to 0.1.
How could I fix this
The code looks like this
Recently I wanted to make Lightning Strike particle but I have small issue.
The Particle just keeps spawning and spawning with about 0.1sec intervals for about 10 seconds in same place.
I set only 1 particle, and life is set to 0.1.
How could I fix this
The code looks like this
Code:
("rydell_lightning", psf_billboard_2d|psf_2d_turbulance, "prt_rydell_lightning",
1, 0.01, 0, 0, 0.1, 0.1, #num_particles, life, damping, gravity_strength, turbulance_size, turbulance_strength
(0.4, 0.4), (0.1, 0.1), #alpha keys
(0.7, 0.7), (1, 1), #red keys
(1, 1), (1, 1), #green keys
(1, 1), (1, 1), #blue keys
(20, 100), (0, 0), #scale keys
(0.1, 1, 0.1), #emit box size
(0, 0, 0), #emit velocity
0.0, #emit dir randomness
0, #rotation speed
0
),
]