Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | tiernich | |
Old Version | Published before Godot 3 was released. |
I have a object with a particles system. when get hit. Fire the particles by setting emiting to true. But happens a second or so later. Code:
if bodie.get_name() == "player":
print("hit")
get_node("explode_particles").set_emitting(true)
hit is printed, a long time passes, the particles are fired.
everything works fine for me, maybe it’s your settings. How long is the delay when you check the “Emitting” Config in the Inspector? Also, how are you getting the input?
batmanasb | 2016-03-22 16:41
here’s the test project I made, see if this works. Press space to fire the particles. Link using some random upload site
batmanasb | 2016-03-22 16:45
thanks for the reply! your project work just fine, i managed to work with Lukas solution to set explosiveness to 0.01.
tiernich | 2016-03-23 19:10