+2 votes

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?

in Engine by (114 points)

1 Answer

+8 votes
Best answer

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

by (1,456 points)
selected by

Works perfectly! Thanks a lot.

It worked perfectly, thank you.

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?

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.