Closed Ranoller closed 4 years ago
remember @bojidar-bg saying that it might be possible to create the same effect with the new particle system. however, still think maybe a particle attractor node would be ideal. i miss it greatly too =]
I try to emulate this node very hard. It´s not casuality that i remember that, i was trying to adapt a menu screen from godot 2 that uses this node (attract or reject the particles at some variable position in the canvas), and there is no substitute, behaviour seems impossible to emulate... but if somebody knows how, please document. (I really think is not possible)
You can sort of emulate it by setting Radial Acceleration to a negative number. This will cause the particles to be sucked towards the center of the particle emitter.
But, of course it's not ideal, because you want to be able to change the attraction point separately from the emission point.
This allow you to do a kind of "ParticlesFollowPoint", it´s ok... but behavior that i need to emulate is rejecting-attracting individual particles with moving objects, and this is only feasible with the ParticlesAttractor node. Things like Smoke that rejects when a character pass inside, lasers/plasma that vibrate when the character pass, etc...., all that thing now are needed to do with animation, or with very trickery and not performant workarounds (like using collision bodies and not particles). ParticlesAttractor were a very awesome feature of godot 2, and lost that was a great regression for me. If i were enough confident with c++ i would try to reimplement myself, but that is not the case.
Maybe it could be possible to feed the particles shader with a texture that can be used to affect the velocity to simulate attraction.
Please for the love of god let's get it back!! One of the greatest node's stripped from Godot 3. Now, since we got CPUParticles2D back, is it possible to get the attractor node? :D
Is on the roadmap https://github.com/godotengine/godot-roadmap/blob/master/ROADMAP.md
But I guess this will be for 3.2 or 4.0...
Lol, dang. I was just thinking it could be re-added since there is the CPUParticles2D now (w/o a re-write/port). I assume the CPUParticles2D is not the same as from 2.x versions then. Which that makes sense. Man, one of my all time favorite nodes and very underrated imo. You could create amazing effects with that attractor.
This is still planned for 4.0! But we are now tracking 4.0 changes to the particle system in the proposals repo here https://github.com/godotengine/godot-proposals/issues/815. Further discussion should take place there.
And yes, particle attractors were mentioned there already, so no need to add another comment :)
Godot version:
Godot 3 All systems
OS/device including version:
All systems
Issue description:
I know that it was removed due incompatibilities with the new particles system. But there is no issue opened for that and there is risk of forgot this awesome feature left in the way. So there is the issue to remember that.