Custom Distance Increment based on Previous Actor Spawn

I’m currently building a custom spline tool to make my life easier for building levels.

I’m using a PCG to spawn actors along the spline, but I want to be able vary the Distance Increment based on a property from the previous actor spawned.

Optionally, vary the Distance Increment and feed that property into the Spawn Actor node.

Is there a way to set the Distance Increment value on the Spline Sampler node?

While I didn’t find a way to change the Distance Increment, I did use a custom PCG Element to modify the path by randomly taking an average of two points on the path and skipping the next point, outputting 2 lists of points that I can spawn either actors or static meshes off of.

I suspect I could also create my own custom spline sampler to achieve this and add custom tags to each point to filter on.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.