Foliage Actor Instance Pivot? Help with foliage wind material

Unreal Engine 5.3 update:
This code in Material (in Shader) returns pivotPoint of mesh (manually placed single mesh) and mesh instance pivotPoint (if mesh instances are placed using Foliage tool, for example). Basically, it is compatible with UE5 Foliage tool.

2 Likes