I feel as though I should be able to figure this out, but I have been stuck on this for hours and hopefully could get some assistance.
I want to achieve something like the OG Age of Empires wall building system. you click to place the first section of wall, then wherever your mouse goes the rest of the wall will populate. The further you go, the more sections appear, the closer to the first section you get the number of wall sections decrease.
In the video I somewhat have achieved what I am after, however, for some reason the mesh isn’t Attaching to the spline component and following where my mouse is going. Other problem is the mesh components aren’t snapping to one another, I feel like I am missing something so simple to fix this and I have to actually click my mouse to place the next section, this needs to happen automatically. The print screen on the left is showing: Cyan number of spline meshes to fit (Current Spline Length/Mesh Length (775). In Red is the current spline length.
Below is the code for the Spline BP
Hope someone can give some insight as to where I am going wrong. Thanks!