Pivot painter foliage interact with multiple objects

Hi, I’m trying to use pivot painter foliage in Content example, the shader uses character’s location and sphere mask to bend at the pivot points. What if there are multiple characters and objects, Is there any way to have multiple objects interact with the pivot painter foliage?

Did you find any solution?