UE4 Niagara Quicktip Sequential Force
Endresult can start to be seen at 5:38 Forgot to show it at the start. This became a bit longer than I intend for my quicktips. Oh well, live and learn. This is the first step towards building a proper spline force that runs on the GPU. It allows you to use a spline to direct the flow of particles with forces, which is great if you want to be able to mix in noise, wind and the like. Once you have this sequential setup done, you can refine it by improving the sampling and array creation in the blueprint by evening out the distance between locations, following the curves and tangents and so on. You can also tweak the scratch to allow for more interesting adherence by varying the attract pos offset over time instead of just using the initial spawn position. There's a ton you can do once this is in place. Breakdown: Blueprint Create an empty location array. Clear it. Create the array of locations by storing the spline point locations. Send the location array to Niagara. Niagara Read in the location array. Create a new scratch. In the scratch read in the array and step through it using a driver value. Get the "current" location as well as the next location, then lerp between the two. Grab the next set of locations and repeat. Store the resulting locations in a vector. Use that vector as the target for a point force. Set the driver to go from 0 to 1 over the particle lifetime. This will lerp the pointforce to each location in sequence, dragging the particles along with it. #UE4 #Niagara #Tutorial
Download
0 formatsNo download links available.