Okay so the world is made of tiles, I figured the best way to do this would be to draw a multisphere trace around the city any tiles that are hit get their origin location added to a spline. Is it possible to just get the edges of the sphere trace?
Maybe two? One bigger and one slightly smaller if they are hit by both do nothing if they are only hit by the big one do something?
Here’s something I threw together real quick, I’m trying to get the hit tiles between those two traces, then use their location for the spline points.
That’s all done with two multisphere traces. Since they are hism I have to do a cast and add instance world transform to an array I break it for vector. On the output I’m just for looping and adding an instance of a cube.
The trace doesn’t seem to be able to draw a circle, increasing the error tolerance just makes a square of empty, so the corners are cut off and the 4 edges across from each other are like 3 thick.
Edit: Didn’t realize images were broke, here’s a link to the code.