0 votes

Say I want to emit a particle every 1 second, but I want it to live for 5 seconds. Is that possible?

in Engine by (690 points)

1 Answer

+1 vote

It is possible but you need to adjust explosiveness parameter here more information in documentation

by (1,022 points)

So what would the math be?

explosiveness:

0: Emit particles at regular intervals (default value).
1: Emit all particles simultaneously.

0.1 = emit 1/10 of the particles at regular intervals or 90% of the interval?

That I do not know. Official docs have still long way to go. I've look at c++ source but there is no math related to explosiveness and in shaders there is this code restart_phase*= (1.0-explosiveness)
and float restart_phase = float(gl_VertexID)/float(total_particles);

Sorry but I cannot deduce more.

Thanks though!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.