Pivot Painter 2 wrong origin of rotation

Hi, All

I am using pivot painter 2 shader in unreal for trees animation and the issue is the branches rotates around the zero point of the tree instead of rotating around own origins.
I build mesh and textures for the shaders inside the blender.



What could I miss? Thanks!

So, I’ve found the issue. If somebody wonder else in the future.
The unreal setting for the textures solve the issue for me.
For ERX PivotPoint_Index_HDR texture


And for the PNG Xaxis_Xextent. texture

Thanks!