@AdrienLogut I am not sure I understand what you mean. When I check Apply Custom Tangents. Its not clear how it is to find the Tangent Attribute? Create Attribute doesnt make anything it can find to make the node valid, it just shows an error. Shown in the picture. Why cant the custom input tangents be an input, so we can generate them procedurally?
Is there any way we could pass in an array of vectors to represent each points tangents?
Something like this:
// input two points per spline point to procedurally generate tangents
customTangentPoints = [
[(vA01.x, vA01.y, vA01.z), (vB01.x, vB01.y, vB01.z)],
[(vA02.x, vA02.y, vA02.z), (vB02.x, vB02.y, vB02.z)],
...
]
My overall goal is to create an unknown set of splines procedurally based on my output data of a node that is doing math on input points.
I have considered doing all of the math in a custom PCG node. That is not how I want to work though. I want to take a set of points, input them into a node that does some math and outputs pairs of points. Then I want to loop through those pairs of points and generate an array of splines.
Currently I can only create one spline with the above method. I want to create several. If I could loop the point pairs in the PCG this would work as well but then the data cant be generated in parallel. So either I need a way to generate these spline nodes in the blueprint, or I need a way to turn this “Create Spline” node into an array of sorts.