Download

Update Particle System Vector at Runtime

Hey everyone,

I’m pretty new to blueprint scripting, but hoping you all might know a solution for this type of problem! I am looking for a way to modify the value of a vector parameter in a mesh particle system at runtime inside a level blueprint. Specifically, it would be awesome to be able to update the vector value of a velocity or acceleration module if that’s possible. Any insight into doing this is greatly appreciated!

Thanks so much,

Hi there, welcome to the forums! :slight_smile:

Epic put together a great little tutorial on how to achieve this, you will want to read through the “Controlling Particle Parameters via Blueprint” section (although all of it is relevant) found here:

If you run into any issues just let us know, but that should get you started.

Ah thank you! I’ll check all of this out right now.

Might be worth noting that you seemingly can not update parameters using BeginPlay, which I was trying to do. Simply update it after you’ve spawned it. This had me scratching my head for a while. :rolleyes:

Interesting, Dealman. So does that mean that I could be updating the velocity at runtime even on infinite lifetime particles? All of this documentation 100% helped me out, but I’m running into an issue where it seems like the velocity/accel is set at birth and it won’t let me reset the instanced parameter mid-lifecycle. Any idea?

Thanks again so much for all of your help everyone!