For some reason, a random number generator nestled within a For Loop will generate the same number consecutively. Only changing generated numbers after a random amount of time of generating the same number.
I suppose the only thing that may need be known is that the function for the loop is called from within the editor.
This works fine, how does your BP differ?
1 Like
Thanks. I also tried it this way, and the node always generates different numbers. I also find nothing in google about it I’m afraid…
Ok, no problem - thanks for trying but, just for completeness’ sake, did you call the initial function from inside the editor?
I did it like you, called a function inside a BP ( from inside the editor ).
Thanks then, ill comment here again if I ever figure out what shenanigans are afoot.
1 Like
From what I can surmise right now, the problem arose from the 2d Perlin Noise plugin I was using, and it interfered with the generation of the random floats. I’ve used another randomization function library as a stop-gap for the meantime, however I’ll swap the plugin with something else to the same end.
1 Like