Announcement

Collapse
No announcement yet.

Update Particle System Vector at Runtime

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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,

    #2
    Hi there, welcome to the forums!

    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:
    https://wiki.unrealengine.com/Partic...eters_Tutorial

    If you run into any issues just let us know, but that should get you started.
    Free Community Ocean & Sky Project || Join us on Discord! || Trello Roadmap

    Comment


      #3
      Ah thank you! I'll check all of this out right now.

      Comment


        #4
        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.

        Comment


          #5
          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!

          Comment

          Working...
          X