So basically, if you do a spline. have 1 mesh in the Center. then want to add meshes offset on the Y-Axis so you end up with the example picture of a road with sidewalks.
But notice the sidewalk isn’t flush with the road. The outside sidewalk is longer and the inside is shorter. which kind of makes sense but it doesn’t.
I achieved the offset using simple transform points.
A fix I did come up with was to just filter out the first (or last for the other side) 2 control points. resample them with 0 subdivisions. and reinsert them. But this will only work if the meshes have the same distance increments, but it does work if that if thats not an issue.
I found a node called SPLINE OFFSET and i was going to try using that instead, but I cannot find any documentation or tutorials explaining how. Google says it doesn’t even exist.
In the level viewport you can fix the issue by simply adjusting the tangent of the spline end points. it is extreamly tedious and would have to be with exact precision to get it perfect. so I imagine theres some way to calculate it in the pcg graph. but i dont know what that would be.
Any ideas?
