jamnique wrote:
Thanks Fabricio, this actually worked the way i wanted it to ;] Still, i would like to know more about the array manipulation approach, seams more flexible for more complex things, like the spider web.
I got halfway there with arrays - I managed to filter out the first segment with Get Array Minimum and Find In Array fed into Set in Array and an if statement, but i couldn't get it to work with Get Array Maximum at the same time. No idea how to stack "If's". I doubt it should be done this way though. I'll keep digging.
Hi there,
The 'array maximum' and 'array minimum' is value, not ID. In case of 3d vectors, if you draw a line from minimum to maximum, it's a some kind of diagonal line in world space. I'm not sure is this exactly what you want. If you want IDs, probably you want 'select in array' using zero and 'get array size' - 1, for first and last ID.
For complex 'If's', there are 'logic' nodes, 'and', 'or', so on. So, one way to isolate the effect of turbulence would be: get strand position> get array sub-indices, if ID is not zero, *and", ID is not array size -1 > add turbulence to strands.
Anyway, I would go in way suggested by Fabricio, even more for complex stuff. A small problem is, that array 're-constructions' , as you did in pictures, in most cases, needs to go to any other strand-related array: strand size, strand velocity, strand color, strand up vector, whatever you have of these.
On another side, 're-mapping' can go just where you want it to appear, and that's all. btw, what I suggested, it's also 're-mapping', not 're-construction'.
Cheers