hi Eduard,
https://docs.unrealengine.com/4.27/en-US/AnimatingObjects/PivotPainter/PivotPainter2/
after "create hierachy of meshes" just use this script and you get 2 maps, these are containing index ,transform and the hierachy which we can use inside unreal to deform the plant
they are using this trick to save all that data into maps instead of having many seperate objects that are drawn slowly
(i attached the end result of a small plant with the maps and the script)
i attached the script
PivotPainter2.ms Plant.rar