Can Particles2D travel inward instead of outward?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By epark009

I want to make a charging effect with Particle2D in a manner similar to Mega Man, where the particles travel inward into the character’s gun. I can make the particles travel outward but I can’t seem to reverse the direction. Is there a way to do this?

:bust_in_silhouette: Reply From: Adam_S

Change the emission_shape to a sphere or box and increase its size.
Then set gravity to 0 and radial_accel to a negative value.
Note that if the lifetime is set to high , the particles will travel outwards after they reached the center of the emission_shape

Works perfectly! Thanks a lot.

epark009 | 2019-10-07 04:45

It worked perfectly, thank you.

TGMG | 2021-07-08 18:35

It works for me too, except the particles travel outwards first, before travelling inwards. Is there a way I can make them start outside and travel inwards first?

Primero | 2022-04-07 17:52

1 Like