Hello,
I am currently trying to get an Array of Vectors/Positions from Blueprint into Niagara and it seems way harder than I feel it should be. For starters the Blueprint Nodes “Niagara Set Position Array Value” and “Niagara Set Vector Array Value” crash the editor or error out respectively.
But “Niagara Set Float Array” works, so I started a workaround in which I break down the Vector array in blueprint in 3 float arrays (X,Y,Z) and send that over to Niagara. But now I struggle to recreate the vector or position arrays in Niagara for further use.
I’ve learned about the “Map For” Node inside Niagara scratch pad and am at a new roadblock. See Image below. I can iterate through the array elements from my float arrays. But when it comes to setting a new array element I can’t find a solution. The “Set Array Elem”-Node in Niagara has execution Pins, but all the “for loop” logic happens within the “Map For”-Node, right? So If I put the “Set Array Elem”-Node before the “Map For” then only index 0 will ever get set, If I set it behind, only the last index will be ever set.
Any help would be greatly appreciated!
Greets
rePete