+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 (113 points)

1 Answer

+7 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,433 points)
selected by

Works perfectly! Thanks a lot.

It worked perfectly, thank you.

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 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 webmaster@godotengine.org with your username.