Hi Paul,
Thanks a lot for the update and Pivot painter 2 support!
I went through your youtube tutorial and was then trying to get a MAT with the PivotPainter2FoliageShader MF to work (the one that does the wind effect) but it doesn't seem to work as intended right now.
I think I've narrowed it down to the parentIndex not being correct, looking at the Set_Parent_Index attribute wrangle, I see :
i@parentIndex = max(len(hierarchysplit)-2, 0);
This seems to point to the parent hierarchy level but not the actual parent index?
for numberOfStepsFromRoot you have i@numberOfStepsFromRoot = max(len(hierarchysplit)-1,0); which is pretty close and makes sense.
I'll try to dive a bit deeper, but let me know what you think!
Thank you!
edit : a minor comment : it would be great if pivotpainter1 was not templated be default inside, since the layout lightmap uvs is on and the flatten uv operation is pretty slow! (I also noticed you still had the PP2 placeholder inside PP1

)
edit2 : for other that have issues, with PP2 I had to uncheck generate lightmap UVs in Unreal which is on by default, otherwise it overwrites the necessary UVs created by the HDA.